Env

indigo.shared.shader.library.ShapeBox.Env
See theEnv companion object
trait Env extends LightEnv

Attributes

Companion
object
Graph
Supertypes
trait LightEnv
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def calculateLightColor(lightAmount: Float): vec4

Attributes

Inherited from:
LightEnv
def calculateLightSpecular(lightAmount: Float, lightDir: vec3, normalTexture: vec4, specularTexture: vec4): vec4

Attributes

Inherited from:
LightEnv

Concrete fields

val ASPECT_RATIO: vec2
val FILL_TYPE: Float
val GRADIENT_FROM_TO: vec4
val GRADIENT_TO_COLOR: vec4
val STROKE_COLOR: vec4
val STROKE_WIDTH: Float

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
val LIGHT_EMISSIVE: highp[vec2]

Attributes

Inherited from:
LightEnv

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_NORMAL: highp[vec2]

Attributes

Inherited from:
LightEnv
val LIGHT_POSITION: vec2

Attributes

Inherited from:
FragmentEnvReference
val LIGHT_ROTATION: Float

Attributes

Inherited from:
FragmentEnvReference
val LIGHT_ROUGHNESS: highp[vec2]

Attributes

Inherited from:
LightEnv
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
val emissiveColor: vec4

Attributes

Inherited from:
LightEnv
var lightAcc: vec4

Attributes

Inherited from:
LightEnv
val normalColor: vec4

Attributes

Inherited from:
LightEnv
val roughnessColor: vec4

Attributes

Inherited from:
LightEnv
var specularAcc: vec4

Attributes

Inherited from:
LightEnv