Searched refs:lightPos (Results 1 – 10 of 10) sorted by relevance
/external/jmonkeyengine/engine/src/test/jme3test/water/ |
D | TestSimpleWater.java | 61 private Vector3f lightPos = new Vector3f(33,12,-29); field in TestSimpleWater 80 waterProcessor.setLightPosition(lightPos); in simpleInitApp() 113 lightSphere.setLocalTranslation(lightPos); in initScene() 138 …fpsText.setText("Light Position: "+lightPos.toString()+" Change Light position with [U], [H], [J],… in simpleUpdate() 139 lightSphere.setLocalTranslation(lightPos); in simpleUpdate() 140 waterProcessor.setLightPosition(lightPos); in simpleUpdate() 153 lightPos.y++; in onAction() 155 lightPos.y--; in onAction() 157 lightPos.x--; in onAction() 159 lightPos.x++; in onAction() [all …]
|
D | TestSceneWater.java | 97 Vector3f lightPos=lightDir.multLocal(-400); in simpleInitApp() local 98 lightSphere.setLocalTranslation(lightPos); in simpleInitApp() 105 waterProcessor.setLightPosition(lightPos); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Post/ |
D | LightScattering15.frag | 12 in vec2 lightPos; 22 vec2 texCoo=texCoord-lightPos; 27 scaledCoord=texCoo*scale+lightPos;
|
D | LightScattering.frag | 9 varying vec2 lightPos; 19 vec2 texCoo=texCoord-lightPos; 24 scaledCoord=texCoo*scale+lightPos;
|
D | LightScattering15.vert | 7 out vec2 lightPos; 12 lightPos=m_LightPosition.xy;
|
D | LightScattering.vert | 7 varying vec2 lightPos; 12 lightPos=m_LightPosition.xy;
|
/external/jmonkeyengine/engine/src/core/com/jme3/material/ |
D | Material.java | 650 Uniform lightPos = shader.getUniform("g_LightPosition"); in updateLightListUniforms() local 653 lightPos.setVector4Length(numLights); in updateLightListUniforms() 664 lightPos.setVector4InArray(0f, 0f, 0f, 0f, lightIndex); in updateLightListUniforms() 678 … lightPos.setVector4InArray(dir.getX(), dir.getY(), dir.getZ(), -1, lightIndex); in updateLightListUniforms() 684 … lightPos.setVector4InArray(pos.getX(), pos.getY(), pos.getZ(), invRadius, lightIndex); in updateLightListUniforms() 693 … lightPos.setVector4InArray(pos2.getX(), pos2.getY(), pos2.getZ(), invRange, lightIndex); in updateLightListUniforms() 709 lightPos.setVector4InArray(0f, 0f, 0f, 0f, lightIndex); in updateLightListUniforms() 721 Uniform lightPos = shader.getUniform("g_LightPosition"); in renderMultipassLighting() local 761 lightPos.setValue(VarType.Vector4, tmpLightPosition); in renderMultipassLighting() 771 lightPos.setValue(VarType.Vector4, tmpLightPosition); in renderMultipassLighting() [all …]
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
D | TestLightScattering.java | 105 Vector3f lightPos = lightDir.multLocal(-3000); in simpleInitApp() local 108 LightScatteringFilter filter = new LightScatteringFilter(lightPos); in simpleInitApp()
|
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/ |
D | Lighting.vert | 146 //vec4 lightPos = g_LightPosition[gl_InstanceID]; 147 //vec4 wvLightPos = (g_ViewMatrix * vec4(lightPos.xyz, lightColor.w)); 148 //wvLightPos.w = lightPos.w;
|
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/ |
D | SimpleWater.j3md | 10 Vector3 lightPos
|