Skip to content
Discussion options

You must be logged in to vote

Hi. So basically, this is an unlit shader. And the lighting, reflection, and shadow are applied manually.

As I'm not using a lit shader, I'm not getting any default specular or reflection of the sun.

If you take a look at Uber Stylized Water/SubGraphs/SpecularLighting.shadersubgraph, you will see how this specular lighting is calculated. The subgraphs are mostly self-contained, so I think you can use them in other shaders easily too.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Khora0
Comment options

Answer selected by MatrixRex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants