Searched refs:lightPos (Results 1 - 4 of 4) sorted by relevance

/external/jmonkeyengine/engine/src/test/jme3test/water/
H A DTestSimpleWater.java61 private Vector3f lightPos = new Vector3f(33,12,-29); field in class:TestSimpleWater
80 waterProcessor.setLightPosition(lightPos);
109 //add lightPos Geometry
113 lightSphere.setLocalTranslation(lightPos);
138 fpsText.setText("Light Position: "+lightPos.toString()+" Change Light position with [U], [H], [J], [K] and [T], [G] Turn off water with [O]");
139 lightSphere.setLocalTranslation(lightPos);
140 waterProcessor.setLightPosition(lightPos);
153 lightPos.y++;
155 lightPos.y--;
157 lightPos
[all...]
H A DTestSceneWater.java93 //add lightPos Geometry
97 Vector3f lightPos=lightDir.multLocal(-400);
98 lightSphere.setLocalTranslation(lightPos);
105 waterProcessor.setLightPosition(lightPos);
/external/jmonkeyengine/engine/src/test/jme3test/post/
H A DTestLightScattering.java105 Vector3f lightPos = lightDir.multLocal(-3000);
106 // lightSphere.setLocalTranslation(lightPos);
108 LightScatteringFilter filter = new LightScatteringFilter(lightPos);
/external/jmonkeyengine/engine/src/core/com/jme3/material/
H A DMaterial.java650 Uniform lightPos = shader.getUniform("g_LightPosition");
653 lightPos.setVector4Length(numLights);
664 lightPos.setVector4InArray(0f, 0f, 0f, 0f, lightIndex);
678 lightPos.setVector4InArray(dir.getX(), dir.getY(), dir.getZ(), -1, lightIndex);
684 lightPos.setVector4InArray(pos.getX(), pos.getY(), pos.getZ(), invRadius, lightIndex);
693 lightPos.setVector4InArray(pos2.getX(), pos2.getY(), pos2.getZ(), invRange, lightIndex);
709 lightPos.setVector4InArray(0f, 0f, 0f, 0f, lightIndex);
721 Uniform lightPos = shader.getUniform("g_LightPosition");
761 lightPos.setValue(VarType.Vector4, tmpLightPosition);
771 lightPos
[all...]

Completed in 1038 milliseconds