Home
last modified time | relevance | path

Searched refs:numDirectionalLights (Results 1 – 11 of 11) sorted by relevance

/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/system/realistic/
Dmain.fragment.glsl55 #ifdef numDirectionalLights
56 #if numDirectionalLights > 0
63 uniform DirectionalLight u_dirLights[numDirectionalLights];
69 uniform DirectionalShadow u_dirShadows[numDirectionalLights];
71 varying vec4 v_dirShadowMapUv[numDirectionalLights];
72 uniform vec4 u_dirShadowMapUVTransform[numDirectionalLights];
75 #endif // numDirectionalLights
177 #ifdef numDirectionalLights
178 #if numDirectionalLights > 0
179 for (int i = 0; i < numDirectionalLights; i++) {
[all …]
Dmain.vertex.glsl169 #ifdef numDirectionalLights
170 #if numDirectionalLights > 0
171 uniform mat4 u_dirShadowMapProjViewTrans[numDirectionalLights];
172 varying vec4 v_dirShadowMapUv[numDirectionalLights];
174 #endif // numDirectionalLights
254 #ifdef numDirectionalLights
255 #if numDirectionalLights > 0
256 for (int i = 0; i < numDirectionalLights; i++) {
DMainShader.java46 numDirectionalLights = 2; in Config()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/system/classical/
Dmain.fragment.glsl46 #ifdef numDirectionalLights
47 #if numDirectionalLights > 0
54 uniform DirectionalLight u_dirLights[numDirectionalLights];
57 #endif // numDirectionalLights
150 #ifdef numDirectionalLights
151 #if numDirectionalLights > 0
152 for (int i = 0; i < numDirectionalLights; i++) {
169 #endif // numDirectionalLights
DMainShader.java37 numDirectionalLights = 2; in Config()
/external/libgdx/tests/gdx-tests-android/assets/data/g3d/shaders/
Dlights.glsl131 #if defined(numDirectionalLights) && (numDirectionalLights > 0)
133 #endif // numDirectionalLights
142 uniform DirectionalLight u_dirLights[numDirectionalLights];
Dlight_gouraud.glsl36 for (int i = 0; i < numDirectionalLights; i++) {
45 for (int i = 0; i < numDirectionalLights; i++) {
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/shaders/
Ddefault.vertex.glsl153 #if numDirectionalLights > 0
159 uniform DirectionalLight u_dirLights[numDirectionalLights];
160 #endif // numDirectionalLights
308 #if (numDirectionalLights > 0) && defined(normalFlag)
309 for (int i = 0; i < numDirectionalLights; i++) {
319 #endif // numDirectionalLights
DDefaultShader.java58 public int numDirectionalLights = 2; field in DefaultShader.Config
536 …Lights = new DirectionalLight[lighting && config.numDirectionalLights > 0 ? config.numDirectionalL… in DefaultShader()
586 …Cubemap = lighting ? register(Inputs.ambientCube, new Setters.ACubemap(config.numDirectionalLights, in DefaultShader()
654 prefix += "#define numDirectionalLights " + config.numDirectionalLights + "\n"; in createPrefix()
/external/deqp/modules/gles2/functional/
Des2fLightAmountTest.cpp130 …LightAmountCase(Context& context, const char* name, int numDirectionalLights, int numOmniLights, … in LightAmountCase() argument
132 , m_numDirectionalLights (numDirectionalLights) in LightAmountCase()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
DBenchmark3DTest.java139 config.numDirectionalLights = directionalLights; in randomizeLights()