Sha256: 5d00fb2d57503c012b93b9e84609e2e94219d94452d63e78e74091023dd16105

Contents?: true

Size: 1.06 KB

Versions: 21

Compression:

Stored size: 1.06 KB

Contents

uniform vec3 ambientLightColor;

#if MAX_DIR_LIGHTS > 0

	uniform vec3 directionalLightColor[ MAX_DIR_LIGHTS ];
	uniform vec3 directionalLightDirection[ MAX_DIR_LIGHTS ];

#endif

#if MAX_HEMI_LIGHTS > 0

	uniform vec3 hemisphereLightSkyColor[ MAX_HEMI_LIGHTS ];
	uniform vec3 hemisphereLightGroundColor[ MAX_HEMI_LIGHTS ];
	uniform vec3 hemisphereLightDirection[ MAX_HEMI_LIGHTS ];

#endif

#if MAX_POINT_LIGHTS > 0

	uniform vec3 pointLightColor[ MAX_POINT_LIGHTS ];
	uniform vec3 pointLightPosition[ MAX_POINT_LIGHTS ];
	uniform float pointLightDistance[ MAX_POINT_LIGHTS ];
	uniform float pointLightDecay[ MAX_POINT_LIGHTS ];

#endif

#if MAX_SPOT_LIGHTS > 0

	uniform vec3 spotLightColor[ MAX_SPOT_LIGHTS ];
	uniform vec3 spotLightPosition[ MAX_SPOT_LIGHTS ];
	uniform vec3 spotLightDirection[ MAX_SPOT_LIGHTS ];
	uniform float spotLightDistance[ MAX_SPOT_LIGHTS ];
	uniform float spotLightAngleCos[ MAX_SPOT_LIGHTS ];
	uniform float spotLightExponent[ MAX_SPOT_LIGHTS ];
	uniform float spotLightDecay[ MAX_SPOT_LIGHTS ];

#endif

#ifdef WRAP_AROUND

	uniform vec3 wrapRGB;

#endif

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
mittsu-opengl-0.5.1 lib/mittsu/opengl/shader/chunks/lights_lambert_pars_vertex.glsl
mittsu-0.4.1 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl
mittsu-opengl-0.5.0 lib/mittsu/opengl/shader/chunks/lights_lambert_pars_vertex.glsl
mittsu-0.4.0 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl
mittsu-0.3.3 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl
mittsu-0.3.2 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl
mittsu-0.3.1 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl
mittsu-0.3.0 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl
mittsu-0.2.4 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl
mittsu-0.2.3 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl
mittsu-0.2.2 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl
mittsu-0.2.1 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl
mittsu-0.2.0 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl
mittsu-0.1.7 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl
mittsu-0.1.6 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl
mittsu-0.1.5 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl
mittsu-0.1.4 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl
mittsu-0.1.3 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl
mittsu-0.1.2 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl
mittsu-0.1.1 lib/mittsu/renderers/shaders/shader_chunk/lights_lambert_pars_vertex.glsl