Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Shadow/
DPostShadowPSSM.vert29 vec4 worldPos = g_WorldMatrix * vec4(inPosition, 1.0);
33 projCoord0 = biasMat * m_LightViewProjectionMatrix0 * worldPos;
34 projCoord1 = biasMat * m_LightViewProjectionMatrix1 * worldPos;
35 projCoord2 = biasMat * m_LightViewProjectionMatrix2 * worldPos;
36 projCoord3 = biasMat * m_LightViewProjectionMatrix3 * worldPos;
DPostShadow.vert18 vec4 worldPos = g_WorldMatrix * vec4(inPosition, 1.0);
21 //projCoord = biasMat * (m_LightViewProjectionMatrix * worldPos);
22 vec4 coord = m_LightViewProjectionMatrix * worldPos;
25 //projCoord = (m_LightViewProjectionMatrix * worldPos);
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
DBone.java85 private Vector3f worldPos = new Vector3f(); field in Bone
206 return worldPos; in getModelSpacePosition()
337 parent.worldRot.mult(localPos, worldPos); in updateWorldVectors()
338 worldPos.multLocal(parent.worldScale); in updateWorldVectors()
339 worldPos.addLocal(parent.worldPos); in updateWorldVectors()
342 worldPos.set(localPos); in updateWorldVectors()
347 attachNode.setLocalTranslation(worldPos); in updateWorldVectors()
379 worldBindInversePos.set(worldPos); in setBindingPose()
427 … Vector3f translate = worldPos.add(rotate.mult(scale.mult(worldBindInversePos, tmp2), tmp2), tmp2); in getOffsetTransform()
462 worldPos.set(translation); in setUserTransformsWorld()
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Misc/
DParticle.vert33 vec4 worldPos = g_WorldMatrix * pos;
34 float d = distance(g_CameraPosition.xyz, worldPos.xyz);
DSoftParticle.vert44 vec4 worldPos = g_WorldMatrix * pos;
45 float d = distance(g_CameraPosition.xyz, worldPos.xyz);
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/
DLighting.vert72 vec3 worldPos = (g_WorldMatrix * vec4(inPosition,1.0)).xyz;
74 vec3 I = normalize( g_CameraPosition - worldPos ).xyz;
83 void lightComputeDir(in vec3 worldPos, in vec4 color, in vec4 position, out vec4 lightDir){
85 vec3 tempVec = position.xyz * sign(posLight - 0.5) - (worldPos * posLight);
DDeferred.frag95 void lightComputeDir(in vec3 worldPos, in vec4 color, in vec4 position, out vec4 lightDir){
99 lightDir.xyz = position.xyz - worldPos.xyz;
107 vec3 tempVec = position.xyz * sign(posLight - 0.5) - (worldPos * posLight);
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/
DLighting.glsllib19 void Lighting_Direction(vec3 worldPos, vec4 color, vec4 position, out vec4 lightDir){
21 vec3 tempVec = position.xyz * sign(posLight - 0.5) - (worldPos * posLight);
/external/jmonkeyengine/engine/src/terrain/Common/MatDefs/Terrain/
DTerrainLighting.vert38 void lightComputeDir(in vec3 worldPos, in vec4 color, in vec4 position, out vec4 lightDir){
40 vec3 tempVec = position.xyz * sign(posLight - 0.5) - (worldPos * posLight);
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
DCamera.java1333 public Vector3f getScreenCoordinates(Vector3f worldPos) { in getScreenCoordinates() argument
1334 return getScreenCoordinates(worldPos, null); in getScreenCoordinates()