Searched refs:worldPos (Results 1 – 10 of 10) sorted by relevance
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Shadow/ |
D | PostShadowPSSM.vert | 29 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;
|
D | PostShadow.vert | 18 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/ |
D | Bone.java | 85 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/ |
D | Particle.vert | 33 vec4 worldPos = g_WorldMatrix * pos; 34 float d = distance(g_CameraPosition.xyz, worldPos.xyz);
|
D | SoftParticle.vert | 44 vec4 worldPos = g_WorldMatrix * pos; 45 float d = distance(g_CameraPosition.xyz, worldPos.xyz);
|
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/ |
D | Lighting.vert | 72 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);
|
D | Deferred.frag | 95 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/ |
D | Lighting.glsllib | 19 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/ |
D | TerrainLighting.vert | 38 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/ |
D | Camera.java | 1333 public Vector3f getScreenCoordinates(Vector3f worldPos) { in getScreenCoordinates() argument 1334 return getScreenCoordinates(worldPos, null); in getScreenCoordinates()
|