Home
last modified time | relevance | path

Searched refs:lightPos (Results 1 – 10 of 10) sorted by relevance

/external/jmonkeyengine/engine/src/test/jme3test/water/
DTestSimpleWater.java61 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 …]
DTestSceneWater.java97 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/
DLightScattering15.frag12 in vec2 lightPos;
22 vec2 texCoo=texCoord-lightPos;
27 scaledCoord=texCoo*scale+lightPos;
DLightScattering.frag9 varying vec2 lightPos;
19 vec2 texCoo=texCoord-lightPos;
24 scaledCoord=texCoo*scale+lightPos;
DLightScattering15.vert7 out vec2 lightPos;
12 lightPos=m_LightPosition.xy;
DLightScattering.vert7 varying vec2 lightPos;
12 lightPos=m_LightPosition.xy;
/external/jmonkeyengine/engine/src/core/com/jme3/material/
DMaterial.java650 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()
678lightPos.setVector4InArray(dir.getX(), dir.getY(), dir.getZ(), -1, lightIndex); in updateLightListUniforms()
684lightPos.setVector4InArray(pos.getX(), pos.getY(), pos.getZ(), invRadius, lightIndex); in updateLightListUniforms()
693lightPos.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/
DTestLightScattering.java105 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/
DLighting.vert146 //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/
DSimpleWater.j3md10 Vector3 lightPos