Kink3d / kShading

Shading models for Unity’s Universal Render Pipeline.
MIT License
988 stars 122 forks source link

incorrect color in subsurface #14

Open bioumaiquan opened 3 years ago

bioumaiquan commented 3 years ago

here is a incorrect type of variable at line 318 in Lighting.hlsl, the "NdotLWrap" should be half3. this error caused the color to be displayed incorrectly when the subsurface color is green or blue