Skip to content

PolyCrusher/URPCustomLitShaderGraphTarget

Repository files navigation

URPCustomLitShaderGraphTarget

URP Custom lit material (SubTarget) target for Shader Graph aka master node

A small investigation to add "PDO" pixel depth offset to shader graph. PDO needs the affect the depth buffer and the shadow coords.

URP17POMwithDepthOffset

known issues

  • Currently only works in forward and forward+ mode

Not sure yet if this is valid for URP17

outDepth = ComputeNormalizedDeviceCoordinatesWithZ(inputData.positionWS - inputData.viewDirectionWS * depthOffset, GetWorldToHClipMatrix()).z;

About

URP Custom lit material (SubTarget) target for Shader Graph aka master node

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

5 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors