alelievr / HDRP-Custom-Passes

A bunch of custom passes made for HDRP
MIT License
1.25k stars 136 forks source link

Question regarding "WRITE_NORMAL_BUFFER" in FPS Foreground #46

Closed ArieLeo closed 7 months ago

ArieLeo commented 1 year ago

Where is this keyword from, is this built in HDRP Keywords? Is there a place where i can see the build in HDRP Keywords?

alelievr commented 1 year ago

Yes it's an HDRP specific keyword. To have the complete list of keywords for a specific shader I'd suggest to look at the shader file directly (look for #pragma shader_feature and #pragma multi_compile): https://github.com/Unity-Technologies/Graphics/blob/master/Packages/com.unity.render-pipelines.high-definition/Runtime/Material/Lit/Lit.shader#L232