-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add shader for LWRP #21
base: master
Are you sure you want to change the base?
Conversation
I cannot compile this script (on URP), my shader coding skills are unfortunately not good enough to provide any insight into why, it may be on my side.. (Line 47:) (Line 50) (Line 116) [this goes away if i.fogCoord is changed to IN.fogCoord] (Line 47) (Line 50) |
Adds a shader that should work with Unity's new Lightweight Render Pipeline.
Had to convert from surface to fragment, but added the lighting and shadow calculations that would otherwise be done for a surface shader.
Should pick up existing material settings used by the tutorial's terrain shader.