Lit

indigo.shared.materials.LightingModel$.Lit
See theLit companion object
final case class Lit(emissive: Option[Texture], normal: Option[Texture], roughness: Option[Texture]) extends LightingModel

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def toShaderData(shaderId: ShaderId, albedo: Option[AssetName], additionalUniformBlocks: Batch[UniformBlock]): ShaderData
def toShaderData(shaderId: ShaderId, albedo: Option[AssetName]): ShaderData
def toShaderData(shaderId: ShaderId): ShaderData
def withEmissive(emissiveAssetName: AssetName, amount: Double): Lit
def withEmissiveAmount(amount: Double): Lit
def withEmissiveAsset(emissiveAssetName: AssetName): Lit
def withNormal(normalAssetName: AssetName, amount: Double): Lit
def withNormalAmount(amount: Double): Lit
def withNormalAsset(normalAssetName: AssetName): Lit
def withRoughness(roughnessAssetName: AssetName, amount: Double): Lit
def withRoughnessAsset(roughnessAssetName: AssetName): Lit

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product