Jump to content

Shader::Load from workshop


Recommended Posts

I think shader::Load has a bug when loading from workshop.

I can fetch textures and materials, but not shaders.

 

This should work, but it doesn't

self.shader = Shader:Load("PP_klepto_skybox.shader",0,256268930)

Gives me the entire project path in the error:

Error: Failed to load shader "C:/Users/shad/Documents/Leadwerks/Projects/post/PP_klepto_skybox.shader"

 

However it works for textures and mats:

self.texture = Texture:Load("SkyLE25.tex",0,256268930)

self.mats= Material:Load("Water.mat",0,256268930)

HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...