Cel Shader for game

A cel shader.


With the proper improvements it could be used real time with much better graphics.
Ignore the outline it’s not as good because free model.

6 Likes

How did you make this? This looks awesome! Good work on it!

thx!
using ViewportPointToRay the script fires rays out onto the stuff on the screen and getting their surface normal. Then it puts a cube on that spot depending if it’s facing a certain direction.
That’s just the basic part but there are multiple ways to improving it with algorithims minimizing the number of rays, increasing the resolution of the shadows, and the overall quality by ray tracing. But for an artistic look I might keep the small cubes idk.

2 Likes