shadmar Posted May 4, 2014 Share Posted May 4, 2014 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 More sharing options...
Josh Posted May 4, 2014 Share Posted May 4, 2014 Shader:Load("PP_klepto_skybox.shader",0,"",256268930) 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