mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-13 20:35:54 +08:00
FBX importer v1, fix for YNDs DLC loading, fix for renamed NG encrypted RPFs, RelFile MetaNames addition
This commit is contained in:
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user