Jump to content

Loading non existent shader family


SpiderPig
 Share

Go to solution Solved by Josh,

Recommended Posts

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"

 

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...