Skip to content

MoonmilkGames/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

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 79.4%
  • HLSL 20.6%