Buckets:
| /*============================================================================= | |
| ModShadowMeshAttenuationVS.usf: Mesh attenutation VS for modulated shadows | |
| Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. | |
| =============================================================================*/ | |
| float4 LightPosition; | |
| void Main( | |
| FVertexFactoryInput Input, | |
| out FVertexFactoryInterpolants OutFactoryInterpolants, | |
| out float3 OutTangentLightVector : TEXCOORD4, | |
| out float3 OutCameraVector : TEXCOORD5, | |
| out float4 OutPixelPosition : TEXCOORD6, | |
| out float4 OutPosition : POSITION | |
| ) | |
| { | |
| float4 WorldPosition = VertexFactoryGetWorldPosition(Input); | |
| OutPosition = MulMatrix(ViewProjectionMatrix,WorldPosition); | |
| OutFactoryInterpolants = VertexFactoryGetInterpolants(Input); | |
| OutPixelPosition = WorldPosition; | |
| OutPixelPosition = OutPosition; | |
| float3x3 TangentBasis = VertexFactoryGetTangentBasis(Input); | |
| OutCameraVector = VertexFactoryWorldToTangentSpace(Input,TangentBasis,CameraPosition.xyz - WorldPosition.xyz * CameraPosition.w); | |
| OutTangentLightVector = VertexFactoryWorldToTangentSpace(Input,TangentBasis,LightPosition.xyz - WorldPosition.xyz); | |
| } | |
Xet Storage Details
- Size:
- 1.29 kB
- Xet hash:
- e33d4af3a3767681bee7bbabda9b59a07be072f6e8e3e4ba54a7cac6c230772a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.