LightEnv

indigo.shared.shader.library.Lighting.LightEnv
See theLightEnv companion object

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Env
trait Env
trait Env
trait Env
trait Env
trait Env
Show all

Members list

Value members

Concrete methods

def calculateLightColor(lightAmount: Float): vec4
def calculateLightSpecular(lightAmount: Float, lightDir: vec3, normalTexture: vec4, specularTexture: vec4): vec4

Concrete fields

val LIGHT_EMISSIVE: highp[vec2]
val LIGHT_NORMAL: highp[vec2]
val LIGHT_ROUGHNESS: highp[vec2]
val emissiveColor: vec4
var lightAcc: vec4
val normalColor: vec4
val roughnessColor: vec4
var specularAcc: vec4

Inherited fields

val ATLAS_SIZE: vec2

Attributes

Inherited from:
FragmentEnvReference
var CHANNEL_0: vec4

Attributes

Inherited from:
FragmentEnvReference
val CHANNEL_0_POSITION: vec2

Attributes

Inherited from:
FragmentEnvReference
val CHANNEL_0_SIZE: vec2

Attributes

Inherited from:
FragmentEnvReference

Attributes

Inherited from:
FragmentEnvReference
var CHANNEL_1: vec4

Attributes

Inherited from:
FragmentEnvReference
val CHANNEL_1_POSITION: vec2

Attributes

Inherited from:
FragmentEnvReference

Attributes

Inherited from:
FragmentEnvReference
var CHANNEL_2: vec4

Attributes

Inherited from:
FragmentEnvReference
val CHANNEL_2_POSITION: vec2

Attributes

Inherited from:
FragmentEnvReference

Attributes

Inherited from:
FragmentEnvReference
var CHANNEL_3: vec4

Attributes

Inherited from:
FragmentEnvReference
val CHANNEL_3_POSITION: vec2

Attributes

Inherited from:
FragmentEnvReference

Attributes

Inherited from:
FragmentEnvReference
var COLOR: vec4

Attributes

Inherited from:
FragmentEnvReference
val INSTANCE_ID: Int

Attributes

Inherited from:
FragmentEnvReference
val LIGHT_ACTIVE: Int

Attributes

Inherited from:
FragmentEnvReference
val LIGHT_ANGLE: Float

Attributes

Inherited from:
FragmentEnvReference
val LIGHT_COLOR: vec4

Attributes

Inherited from:
FragmentEnvReference
val LIGHT_COUNT: Int

Attributes

Inherited from:
FragmentEnvReference

Attributes

Inherited from:
FragmentEnvReference
val LIGHT_FAR: Float

Attributes

Inherited from:
FragmentEnvReference

Attributes

Inherited from:
FragmentEnvReference
val LIGHT_INDEX: Int

Attributes

Inherited from:
FragmentEnvReference
val LIGHT_INTENSITY: Float

Attributes

Inherited from:
FragmentEnvReference
val LIGHT_NEAR: Float

Attributes

Inherited from:
FragmentEnvReference
val LIGHT_POSITION: vec2

Attributes

Inherited from:
FragmentEnvReference
val LIGHT_ROTATION: Float

Attributes

Inherited from:
FragmentEnvReference
val LIGHT_SPECULAR: vec4

Attributes

Inherited from:
FragmentEnvReference
val LIGHT_TYPE: Int

Attributes

Inherited from:
FragmentEnvReference
val PI: Float

Attributes

Inherited from:
FragmentEnvReference
val PI_2: Float

Attributes

Inherited from:
FragmentEnvReference
val PI_4: Float

Attributes

Inherited from:
FragmentEnvReference
val ROTATION: Float

Attributes

Inherited from:
FragmentEnvReference
val SCREEN_COORDS: vec2

Attributes

Inherited from:
FragmentEnvReference
val SIZE: vec2

Attributes

Inherited from:
FragmentEnvReference
val SRC_CHANNEL: sampler2D.type

Attributes

Inherited from:
FragmentEnvReference
val TAU: Float

Attributes

Inherited from:
FragmentEnvReference
val TAU_2: Float

Attributes

Inherited from:
FragmentEnvReference
val TAU_4: Float

Attributes

Inherited from:
FragmentEnvReference
val TAU_8: Float

Attributes

Inherited from:
FragmentEnvReference
val TEXTURE_SIZE: vec2

Attributes

Inherited from:
FragmentEnvReference
val TIME: Float

Attributes

Inherited from:
FragmentEnvReference
val UV: vec2

Attributes

Inherited from:
FragmentEnvReference
val VIEWPORT_SIZE: vec2

Attributes

Inherited from:
FragmentEnvReference