SpiderPig Posted March 5 Share Posted March 5 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 Link to comment Share on other sites More sharing options...
reepblue Posted March 5 Share Posted March 5 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! Link to comment Share on other sites More sharing options...
SpiderPig Posted March 5 Author Share Posted March 5 They are, I was more wondering if it should print an actual error when it failed to load. 🙂 Quote Link to comment Share on other sites More sharing options...
CJO Games Posted March 6 Share Posted March 6 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 Link to comment Share on other sites More sharing options...
Solution Josh Posted March 8 Solution Share Posted March 8 Fixed. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
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.