SpiderPig Posted March 5, 2024 Posted March 5, 2024 Used some old code today and loading a non-existent shader family with the .json extension printed this output... Loading shader family "Shaders/Unlit.json" Deleting shader family "Shaders/Unlit.json" Should it be more like this so we know it actually failed? Error : Failed to load shader family "Shaders/Unlit.json" Quote
reepblue Posted March 5, 2024 Posted March 5, 2024 Shaders families are now .fam files. Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon!
SpiderPig Posted March 5, 2024 Author Posted March 5, 2024 They are, I was more wondering if it should print an actual error when it failed to load. 🙂 Quote
CJO Games Posted March 6, 2024 Posted March 6, 2024 I saw this yesterday too when I was messing about with a water shader - I assumed however that the output you have above was the way it was supposed to work i.e. the engine loads in the shader to compile it and then deletes it once it has become compiled. I notice this is how other game engines appear to work (see X Plane Vulkan processing). I'd be interested to know if this is wrong... Quote
Solution Josh Posted March 8, 2024 Solution Posted March 8, 2024 Fixed. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.