/dports/graphics/ogre3d/ogre-1.11.6/Samples/Media/RTShaderLib/GLSL/ |
H A D | DualQuaternion_Common.glsl | 35 …t2x4 blendDQ = blendWgt.x*mat2x4(dualQuaternions[int(blendIdx.x) * 2], dualQuaternions[int(blendId… 36 …blendDQ += blendWgt.y*mat2x4(dualQuaternions[int(blendIdx.y) * 2], dualQuaternions[int(blendIdx.y)… 43 …mat2x4 dq0 = mat2x4(dualQuaternions[int(blendIdx.x) * 2], dualQuaternions[int(blendIdx.x) * 2 + 1]… 44 …mat2x4 dq1 = mat2x4(dualQuaternions[int(blendIdx.y) * 2], dualQuaternions[int(blendIdx.y) * 2 + 1]… 58 …mat2x4 dq0 = mat2x4(dualQuaternions[int(blendIdx.x) * 2], dualQuaternions[int(blendIdx.x) * 2 + 1]… 59 …mat2x4 dq1 = mat2x4(dualQuaternions[int(blendIdx.y) * 2], dualQuaternions[int(blendIdx.y) * 2 + 1]… 60 …mat2x4 dq2 = mat2x4(dualQuaternions[int(blendIdx.z) * 2], dualQuaternions[int(blendIdx.z) * 2 + 1]… 76 …mat2x4 dq0 = mat2x4(dualQuaternions[int(blendIdx.x) * 2], dualQuaternions[int(blendIdx.x) * 2 + 1]… 77 …mat2x4 dq1 = mat2x4(dualQuaternions[int(blendIdx.y) * 2], dualQuaternions[int(blendIdx.y) * 2 + 1]… 78 …mat2x4 dq2 = mat2x4(dualQuaternions[int(blendIdx.z) * 2], dualQuaternions[int(blendIdx.z) * 2 + 1]… [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/SDK/OSX/Xcode Templates/Xcode4/Project Templates/Ogre/iOS Application.xctemplate/media/RTShaderLib/materials/ |
H A D | HardwareSkinningShadow.cg | 20 float4 blendIdx : BLENDINDICES, 26 oPosition.xyz = mul(worldMatrix3x4Array[blendIdx.x], position) * blendWgt.x; 40 float4 blendIdx : BLENDINDICES, 48 mul(worldMatrix3x4Array[blendIdx.y], position) * blendWgt.y; 63 float4 blendIdx : BLENDINDICES, 71 mul(worldMatrix3x4Array[blendIdx.y], position) * blendWgt.y + 72 mul(worldMatrix3x4Array[blendIdx.z], position) * blendWgt.z; 87 float4 blendIdx : BLENDINDICES, 95 mul(worldMatrix3x4Array[blendIdx.y], position) * blendWgt.y + 96 mul(worldMatrix3x4Array[blendIdx.z], position) * blendWgt.z + [all …]
|
/dports/games/opendungeons/OpenDungeons-0.7.1/materials/RTShaderLib/GLSL/ |
H A D | DualQuaternion_Common.glsl | 35 …t2x4 blendDQ = blendWgt.x*mat2x4(dualQuaternions[int(blendIdx.x) * 2], dualQuaternions[int(blendId… 36 …blendDQ += blendWgt.y*mat2x4(dualQuaternions[int(blendIdx.y) * 2], dualQuaternions[int(blendIdx.y)… 43 …mat2x4 dq0 = mat2x4(dualQuaternions[int(blendIdx.x) * 2], dualQuaternions[int(blendIdx.x) * 2 + 1]… 44 …mat2x4 dq1 = mat2x4(dualQuaternions[int(blendIdx.y) * 2], dualQuaternions[int(blendIdx.y) * 2 + 1]… 58 mat2x4 dq0 = dualQuaternions[int(blendIdx.x)]; 59 mat2x4 dq1 = dualQuaternions[int(blendIdx.y)]; 60 mat2x4 dq2 = dualQuaternions[int(blendIdx.z)]; 76 mat2x4 dq0 = dualQuaternions[int(blendIdx.x)]; 77 mat2x4 dq1 = dualQuaternions[int(blendIdx.y)]; 78 mat2x4 dq2 = dualQuaternions[int(blendIdx.z)]; [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Samples/Media/RTShaderLib/GLSL/ |
H A D | DualQuaternion_Common.glsl | 35 …t2x4 blendDQ = blendWgt.x*mat2x4(dualQuaternions[int(blendIdx.x) * 2], dualQuaternions[int(blendId… 36 …blendDQ += blendWgt.y*mat2x4(dualQuaternions[int(blendIdx.y) * 2], dualQuaternions[int(blendIdx.y)… 43 …mat2x4 dq0 = mat2x4(dualQuaternions[int(blendIdx.x) * 2], dualQuaternions[int(blendIdx.x) * 2 + 1]… 44 …mat2x4 dq1 = mat2x4(dualQuaternions[int(blendIdx.y) * 2], dualQuaternions[int(blendIdx.y) * 2 + 1]… 58 mat2x4 dq0 = dualQuaternions[int(blendIdx.x)]; 59 mat2x4 dq1 = dualQuaternions[int(blendIdx.y)]; 60 mat2x4 dq2 = dualQuaternions[int(blendIdx.z)]; 76 mat2x4 dq0 = dualQuaternions[int(blendIdx.x)]; 77 mat2x4 dq1 = dualQuaternions[int(blendIdx.y)]; 78 mat2x4 dq2 = dualQuaternions[int(blendIdx.z)]; [all …]
|
/dports/games/opendungeons/OpenDungeons-0.7.1/materials/RTShaderLib/Cg/ |
H A D | DualQuaternionSkinning_Shadow.cg | 11 float2x4 dq0 = dualQuaternions[blendIdx.x]; 12 float2x4 dq1 = dualQuaternions[blendIdx.y]; 26 float2x4 dq0 = dualQuaternions[blendIdx.x]; 27 float2x4 dq1 = dualQuaternions[blendIdx.y]; 28 float2x4 dq2 = dualQuaternions[blendIdx.z]; 120 float4 blendIdx : BLENDINDICES, 146 float4 blendIdx : BLENDINDICES, 172 float4 blendIdx : BLENDINDICES, 198 float4 blendIdx : BLENDINDICES, 226 float4 blendIdx : BLENDINDICES, [all …]
|
H A D | HardwareSkinningShadow.cg | 20 float4 blendIdx : BLENDINDICES, 26 oPosition.xyz = mul(worldMatrix3x4Array[blendIdx.x], position) * blendWgt.x; 40 float4 blendIdx : BLENDINDICES, 48 mul(worldMatrix3x4Array[blendIdx.y], position) * blendWgt.y; 63 float4 blendIdx : BLENDINDICES, 71 mul(worldMatrix3x4Array[blendIdx.y], position) * blendWgt.y + 72 mul(worldMatrix3x4Array[blendIdx.z], position) * blendWgt.z; 87 float4 blendIdx : BLENDINDICES, 95 mul(worldMatrix3x4Array[blendIdx.y], position) * blendWgt.y + 96 mul(worldMatrix3x4Array[blendIdx.z], position) * blendWgt.z + [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Samples/Media/RTShaderLib/Cg/ |
H A D | DualQuaternionSkinning_Shadow.cg | 11 float2x4 dq0 = dualQuaternions[blendIdx.x]; 12 float2x4 dq1 = dualQuaternions[blendIdx.y]; 26 float2x4 dq0 = dualQuaternions[blendIdx.x]; 27 float2x4 dq1 = dualQuaternions[blendIdx.y]; 28 float2x4 dq2 = dualQuaternions[blendIdx.z]; 120 float4 blendIdx : BLENDINDICES, 146 float4 blendIdx : BLENDINDICES, 172 float4 blendIdx : BLENDINDICES, 198 float4 blendIdx : BLENDINDICES, 226 float4 blendIdx : BLENDINDICES, [all …]
|
H A D | HardwareSkinningShadow.cg | 20 float4 blendIdx : BLENDINDICES, 26 oPosition.xyz = mul(worldMatrix3x4Array[blendIdx.x], position) * blendWgt.x; 40 float4 blendIdx : BLENDINDICES, 48 mul(worldMatrix3x4Array[blendIdx.y], position) * blendWgt.y; 63 float4 blendIdx : BLENDINDICES, 71 mul(worldMatrix3x4Array[blendIdx.y], position) * blendWgt.y + 72 mul(worldMatrix3x4Array[blendIdx.z], position) * blendWgt.z; 87 float4 blendIdx : BLENDINDICES, 95 mul(worldMatrix3x4Array[blendIdx.y], position) * blendWgt.y + 96 mul(worldMatrix3x4Array[blendIdx.z], position) * blendWgt.z + [all …]
|
/dports/graphics/ogre3d/ogre-1.11.6/Samples/Media/RTShaderLib/HLSL_Cg/ |
H A D | DualQuaternionSkinning_Shadow.cg | 11 float2x4 dq0 = dualQuaternions[blendIdx.x]; 12 float2x4 dq1 = dualQuaternions[blendIdx.y]; 26 float2x4 dq0 = dualQuaternions[blendIdx.x]; 27 float2x4 dq1 = dualQuaternions[blendIdx.y]; 28 float2x4 dq2 = dualQuaternions[blendIdx.z]; 120 float4 blendIdx : BLENDINDICES, 146 float4 blendIdx : BLENDINDICES, 172 float4 blendIdx : BLENDINDICES, 198 float4 blendIdx : BLENDINDICES, 226 float4 blendIdx : BLENDINDICES, [all …]
|
H A D | HardwareSkinningShadow.cg | 20 float4 blendIdx : BLENDINDICES, 26 oPosition.xyz = mul(worldMatrix3x4Array[blendIdx.x], position) * blendWgt.x; 40 float4 blendIdx : BLENDINDICES, 48 mul(worldMatrix3x4Array[blendIdx.y], position) * blendWgt.y; 63 float4 blendIdx : BLENDINDICES, 71 mul(worldMatrix3x4Array[blendIdx.y], position) * blendWgt.y + 72 mul(worldMatrix3x4Array[blendIdx.z], position) * blendWgt.z; 87 float4 blendIdx : BLENDINDICES, 95 mul(worldMatrix3x4Array[blendIdx.y], position) * blendWgt.y + 96 mul(worldMatrix3x4Array[blendIdx.z], position) * blendWgt.z + [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Samples/Media/RTShaderLib/GLSL150/ |
H A D | DualQuaternion_Common.glsl | 5 mat2x4 blendDQ = blendWgt.x*dualQuaternions[int(blendIdx.x)]; 6 blendDQ += blendWgt.y*dualQuaternions[int(blendIdx.y)]; 13 mat2x4 dq0 = dualQuaternions[int(blendIdx.x)]; 14 mat2x4 dq1 = dualQuaternions[int(blendIdx.y)]; 28 mat2x4 dq0 = dualQuaternions[int(blendIdx.x)]; 29 mat2x4 dq1 = dualQuaternions[int(blendIdx.y)]; 30 mat2x4 dq2 = dualQuaternions[int(blendIdx.z)]; 46 mat2x4 dq0 = dualQuaternions[int(blendIdx.x)]; 47 mat2x4 dq1 = dualQuaternions[int(blendIdx.y)]; 48 mat2x4 dq2 = dualQuaternions[int(blendIdx.z)]; [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Samples/Media/materials/programs/GLSL/ |
H A D | DualQuaternion_Common.glsl | 33 mat2x4 blendTwoWeights(vec4 blendWgt, vec4 blendIdx, vec4 dualQuaternions[24]) 35 …t2x4 blendDQ = blendWgt.x*mat2x4(dualQuaternions[int(blendIdx.x) * 2], dualQuaternions[int(blendId… 36 …blendDQ += blendWgt.y*mat2x4(dualQuaternions[int(blendIdx.y) * 2], dualQuaternions[int(blendIdx.y)… 41 mat2x4 blendTwoWeightsAntipod(vec4 blendWgt, vec4 blendIdx, vec4 dualQuaternions[24]) 43 …mat2x4 dq0 = mat2x4(dualQuaternions[int(blendIdx.x) * 2], dualQuaternions[int(blendIdx.x) * 2 + 1]… 44 …mat2x4 dq1 = mat2x4(dualQuaternions[int(blendIdx.y) * 2], dualQuaternions[int(blendIdx.y) * 2 + 1]…
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Samples/Media/materials/programs/Cg/ |
H A D | DualQuaternion.cg | 8 float4 blendIdx : BLENDINDICES, 23 float2x4 blendDQ = blendTwoWeightsAntipod(blendWgt, blendIdx, worldDualQuaternion2x4Array); 49 float4 blendIdx : BLENDINDICES, 60 float2x4 blendDQ = blendTwoWeightsAntipod(blendWgt, blendIdx, worldDualQuaternion2x4Array); 78 float4 blendIdx : BLENDINDICES, 96 float3x4 blendS = blendWgt.x*scaleM[blendIdx.x]; 97 blendS += blendWgt.y*scaleM[blendIdx.y]; 104 float2x4 blendDQ = blendTwoWeightsAntipod(blendWgt, blendIdx, worldDualQuaternion2x4Array); 128 float4 blendIdx : BLENDINDICES, 141 float3x4 blendS = blendWgt.x*scaleM[blendIdx.x]; [all …]
|
H A D | DualQuaternion_Common.cg | 31 float2x4 blendTwoWeights(float4 blendWgt, float4 blendIdx, float2x4 dualQuaternions[24]) 33 float2x4 blendDQ = blendWgt.x*dualQuaternions[blendIdx.x]; 34 blendDQ += blendWgt.y*dualQuaternions[blendIdx.y]; 39 float2x4 blendTwoWeightsAntipod(float4 blendWgt, float4 blendIdx, float2x4 dualQuaternions[24]) 41 float2x4 dq0 = dualQuaternions[blendIdx.x]; 42 float2x4 dq1 = dualQuaternions[blendIdx.y];
|
H A D | Example_Basic.cg | 40 float blendIdx : BLENDINDICES, 55 float4 blendPos = float4(mul(worldMatrix3x4Array[blendIdx], position).xyz, 1.0); 59 float3 norm = mul((float3x3)worldMatrix3x4Array[blendIdx], normal); 79 float blendIdx : BLENDINDICES, 91 float4 blendPos = float4(mul(worldMatrix3x4Array[blendIdx], position).xyz, 1.0); 108 float4 blendIdx : BLENDINDICES, 129 blendPos += float4(mul(worldMatrix3x4Array[blendIdx[i]], position).xyz, 1.0) * blendWgt[i]; 137 norm += mul((float3x3)worldMatrix3x4Array[blendIdx[i]], normal) * 162 float4 blendIdx : BLENDINDICES, 198 float4 blendIdx : BLENDINDICES, [all …]
|
H A D | Example_Basic_sm4.cg | 43 float blendIdx : BLENDINDICES, 58 float4 blendPos = float4(mul(worldMatrix3x4Array[blendIdx], position).xyz, 1.0); 62 float3 norm = mul((float3x3)worldMatrix3x4Array[blendIdx], normal); 82 float blendIdx : BLENDINDICES, 94 float4 blendPos = float4(mul(worldMatrix3x4Array[blendIdx], position).xyz, 1.0); 111 float4 blendIdx : BLENDINDICES, 132 blendPos += float4(mul(worldMatrix3x4Array[blendIdx[i]], position).xyz, 1.0) * blendWgt[i]; 140 norm += mul((float3x3)worldMatrix3x4Array[blendIdx[i]], normal) * 165 float4 blendIdx : BLENDINDICES, 201 float4 blendIdx : BLENDINDICES, [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Samples/Media/materials/programs/GLSL150/ |
H A D | DualQuaternion_Common.glsl | 33 mat2x4 blendTwoWeights(vec4 blendWgt, vec4 blendIdx, vec4 dualQuaternions[24]) 35 …t2x4 blendDQ = blendWgt.x*mat2x4(dualQuaternions[int(blendIdx.x) * 2], dualQuaternions[int(blendId… 36 …blendDQ += blendWgt.y*mat2x4(dualQuaternions[int(blendIdx.y) * 2], dualQuaternions[int(blendIdx.y)… 41 mat2x4 blendTwoWeightsAntipod(vec4 blendWgt, vec4 blendIdx, mat2x4 dualQuaternions[24]) 43 mat2x4 dq0 = dualQuaternions[int(blendIdx.x)]; 44 mat2x4 dq1 = dualQuaternions[int(blendIdx.y)];
|
/dports/graphics/ogre3d/ogre-1.11.6/Samples/Media/materials/programs/HLSL/ |
H A D | DualQuaternion.hlsl | 16 float4 blendIdx : BLENDINDICES; 30 …float2x4 blendDQ = blendTwoWeightsAntipod(input.blendWgt, input.blendIdx, worldDualQuaternion2x4Ar… 57 float4 blendIdx : BLENDINDICES; 74 …float2x4 blendDQ = blendTwoWeightsAntipod(input.blendWgt, input.blendIdx, worldDualQuaternion2x4Ar… 101 float3x4 blendS = input.blendWgt.x*scaleM[input.blendIdx.x]; 102 blendS += input.blendWgt.y*scaleM[input.blendIdx.y]; 109 …float2x4 blendDQ = blendTwoWeightsAntipod(input.blendWgt, input.blendIdx, worldDualQuaternion2x4Ar… 141 float3x4 blendS = input.blendWgt.x*scaleM[input.blendIdx.x]; 142 blendS += input.blendWgt.y*scaleM[input.blendIdx.y]; 147 …float2x4 blendDQ = blendTwoWeightsAntipod(input.blendWgt, input.blendIdx, worldDualQuaternion2x4Ar…
|
H A D | Example_Basic.hlsl | 28 float blendIdx : BLENDINDICES, 43 float4 blendPos = float4(mul(worldMatrix3x4Array[blendIdx], position).xyz, 1.0); 47 float3 norm = mul((float3x3)worldMatrix3x4Array[blendIdx], normal); 67 float blendIdx : BLENDINDICES, 79 float4 blendPos = float4(mul(worldMatrix3x4Array[blendIdx], position).xyz, 1.0); 96 float4 blendIdx : BLENDINDICES, 116 blendPos += float4(mul(worldMatrix3x4Array[blendIdx[i]], position).xyz, 1.0) * blendWgt[i]; 124 norm += mul((float3x3)worldMatrix3x4Array[blendIdx[i]], normal) * 149 float4 blendIdx : BLENDINDICES, 187 float4 blendIdx : BLENDINDICES, [all …]
|
H A D | DualQuaternion_Common.hlsl | 31 float2x4 blendTwoWeights(float4 blendWgt, float4 blendIdx, float2x4 dualQuaternions[24]) 33 float2x4 blendDQ = blendWgt.x*dualQuaternions[blendIdx.x]; 34 blendDQ += blendWgt.y*dualQuaternions[blendIdx.y]; 39 float2x4 blendTwoWeightsAntipod(float4 blendWgt, float4 blendIdx, float2x4 dualQuaternions[24]) 41 float2x4 dq0 = dualQuaternions[blendIdx.x]; 42 float2x4 dq1 = dualQuaternions[blendIdx.y];
|
H A D | Instancing.hlsl | 78 float4 blendIdx : BLENDINDICES; 100 …blendPos += float4(mul(worldMatrix3x4Array[input.index*numBones+input.blendIdx[i]], input.position… 108 …norm += mul((float3x3)worldMatrix3x4Array[input.index*numBones+input.blendIdx[i]], input.normal)* … 125 float blendIdx : BLENDINDICES; 139 …float4 blendPos = float4(mul(worldMatrix3x4Array[input.index*numBones+input.blendIdx], input.posit…
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Samples/Media/materials/programs/HLSL/ |
H A D | Example_Basic.hlsl | 28 float blendIdx : BLENDINDICES, 43 float4 blendPos = float4(mul(worldMatrix3x4Array[blendIdx], position).xyz, 1.0); 47 float3 norm = mul((float3x3)worldMatrix3x4Array[blendIdx], normal); 67 float blendIdx : BLENDINDICES, 79 float4 blendPos = float4(mul(worldMatrix3x4Array[blendIdx], position).xyz, 1.0); 96 float4 blendIdx : BLENDINDICES, 116 blendPos += float4(mul(worldMatrix3x4Array[blendIdx[i]], position).xyz, 1.0) * blendWgt[i]; 124 norm += mul((float3x3)worldMatrix3x4Array[blendIdx[i]], normal) * 149 float4 blendIdx : BLENDINDICES, 187 float4 blendIdx : BLENDINDICES, [all …]
|
/dports/graphics/ogre3d/ogre-1.11.6/Samples/Media/materials/programs/Cg/ |
H A D | DualQuaternion.cg | 8 float4 blendIdx : BLENDINDICES, 23 float2x4 blendDQ = blendTwoWeightsAntipod(blendWgt, blendIdx, worldDualQuaternion2x4Array); 50 float4 blendIdx : BLENDINDICES, 68 float3x4 blendS = blendWgt.x*scaleM[blendIdx.x]; 69 blendS += blendWgt.y*scaleM[blendIdx.y]; 76 float2x4 blendDQ = blendTwoWeightsAntipod(blendWgt, blendIdx, worldDualQuaternion2x4Array);
|
H A D | Example_Basic.cg | 40 float blendIdx : BLENDINDICES, 55 float4 blendPos = float4(mul(worldMatrix3x4Array[blendIdx], position).xyz, 1.0); 59 float3 norm = mul((float3x3)worldMatrix3x4Array[blendIdx], normal); 79 float blendIdx : BLENDINDICES, 91 float4 blendPos = float4(mul(worldMatrix3x4Array[blendIdx], position).xyz, 1.0); 108 float4 blendIdx : BLENDINDICES, 129 blendPos += float4(mul(worldMatrix3x4Array[blendIdx[i]], position).xyz, 1.0) * blendWgt[i]; 137 norm += mul((float3x3)worldMatrix3x4Array[blendIdx[i]], normal) * 162 float4 blendIdx : BLENDINDICES, 198 float4 blendIdx : BLENDINDICES, [all …]
|
H A D | Example_Basic_sm4.cg | 43 float blendIdx : BLENDINDICES, 58 float4 blendPos = float4(mul(worldMatrix3x4Array[blendIdx], position).xyz, 1.0); 62 float3 norm = mul((float3x3)worldMatrix3x4Array[blendIdx], normal); 82 float blendIdx : BLENDINDICES, 94 float4 blendPos = float4(mul(worldMatrix3x4Array[blendIdx], position).xyz, 1.0); 111 float4 blendIdx : BLENDINDICES, 132 blendPos += float4(mul(worldMatrix3x4Array[blendIdx[i]], position).xyz, 1.0) * blendWgt[i]; 140 norm += mul((float3x3)worldMatrix3x4Array[blendIdx[i]], normal) * 165 float4 blendIdx : BLENDINDICES, 201 float4 blendIdx : BLENDINDICES, [all …]
|