Hello
How do I replicate the following with a visual shader? I can see a Normal Depth slot in the VS editor, but what about the settings?
Thank you!!!!
You won't find that in visual shaders by default. The shader code for that is autogenerated by SpatialMaterials only. You'd have to implement it yourself.
SpatialMaterials
This part of the engine source code might be insightful. https://github.com/godotengine/godot/blob/ae59e22cdd7101d85bcb92871ce53f05c668f5c4/scene/resources/material.cpp#L392