#Shader falls back to default/diffuse
1 messages · Page 1 of 1 (latest)
I have created 3 RTHandle and 3 RenderTextureDescriptor. In configure I initialized my descriptors to the correct GraphicsFormat and used AllocateIfNeeded for the 3 RTargets and finally in Configure i called ConfigureTarget and passed an array that contains all my 3 RTHandle.
Also it is worth to mention that I have a custom fs, that uses a ShaderLab on top of it. I am using #pragma use_dxc because I have some vk::bindings in that fs. In the ShaderLab, i have that pragma and an include that includes the fragment shader. When i go to the frame debugger, my 3 render targets are empty/black and I can see that it has fallen back to diffuse (because in shaderlab i have diffuse as fallback). I have added my custom shaderlab to the graphics settings (always include or something like that in settings). Is there something i am missing?