Expose lighting information to the fragment stage #6215
Locked
PhantomFighter
started this conversation in
3D
Replies: 1 comment
-
This is already being tracked in #1620. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Apologies in advance if this is the wrong place for it.
It is fairly self explanatory. Unity support this out of the box. You have access to color, light vector, attenuation, etc in the fragment stage to do custom lighting/shading. We can't port these existing shaders over to Godot as it stands. Examples of some interesting projects include methods of Toon shaders, Eye shaders (of which I was working on one before I realized we can't access lighting in fragment).
Is this feasible to facilitate, or on the roadmap?
Beta Was this translation helpful? Give feedback.
All reactions