I’m writing some custom HLSL shaders and although they work fine in camera, they’re not rendering in scene view. I’m using deferred pipeline, but was using forward before and it wasn’t working either. In some stages during development it was working, but I have no idea what exactly made it stop.
Any idea what is required for a shader to be visible in scene view?
I have a ShadowCaster and UniversalGBuffer passes. I’m now exploring the SimpleLit shader which renders in both camera and scene view, but so far, I didn’t find anything.
So the problem wasn’t the shader, but the fact that I instantiated entities in runtime and didn’t have the Preferences => Entities => Scene view mode set to Runtime Data as mentioned here: Entities not visible in Scene View - #8 by tjumma