Home
last modified time | relevance | path

Searched refs:worldPosition (Results 1 – 3 of 3) sorted by relevance

/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/
DDeferred.frag128 vec3 worldPosition = getPosition(newTexCoord);
129 vec3 viewDir = normalize(g_CameraPosition - worldPosition);
135 lightComputeDir(worldPosition, g_LightColor, g_LightPosition, lightDir);
137 vec2 light = computeLighting(worldPosition, normal, viewDir, lightDir, specularColor.w*128.0);
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/
DLightScatteringFilter.java117 private Vector3f getClipCoordinates(Vector3f worldPosition, Vector3f store, Camera cam) {
119 float w = cam.getViewProjectionMatrix().multProj(worldPosition, store);
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
DCamera.java1342 public Vector3f getScreenCoordinates(Vector3f worldPosition, Vector3f store) { in getScreenCoordinates() argument
1357 float w = viewProjectionMatrix.multProj(worldPosition, store); in getScreenCoordinates()