FBX importer v1, fix for YNDs DLC loading, fix for renamed NG encrypted RPFs, RelFile MetaNames addition

This commit is contained in:
dexy
2019-03-20 21:21:47 +11:00
Unverified
parent decc3dccb4
commit bc1efebe5c
23 changed files with 3876 additions and 183 deletions
+9 -1
View File
@@ -32,7 +32,15 @@ float4 Unpack4x8UNF(uint v)
float DepthFunc(float2 zw)
{
return zw.x;//
return zw.x;
////this sort of works for reverse depth buffering, but has issues with vertices behind the near clip plane.
////might need to adjust the viewproj matrix to fix that...
////(for this to work, also need to change GpuBuffers.Clear,.ClearDepth and ShaderManager DepthComparison,RenderFinalPass)
//return max(0.001 / zw.x, 0);
//return zw.x * (0.1 + 0.00001*(abs(zw.y)));
//return zw.x * (0.1 + 0.00001*((zw.y)));