lightmap shadowmap heightmap 它们有一个自己的camera 对应cameraMatrix float3 TransfromToTextureCoord(float4 PositionWS, float4x4 CameraMatirx, float CameraOrthographicSize){ float3 heightUV; float4 posVS = mul(CameraMatirx, PositionWS); heightUV.x = posVS.x / C…