Searched refs:worldPosition (Results 1 – 3 of 3) sorted by relevance
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/ |
D | Deferred.frag | 128 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/ |
D | LightScatteringFilter.java | 117 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/ |
D | Camera.java | 1342 public Vector3f getScreenCoordinates(Vector3f worldPosition, Vector3f store) { in getScreenCoordinates() argument 1357 float w = viewProjectionMatrix.multProj(worldPosition, store); in getScreenCoordinates()
|