shadmar Posted August 15, 2014 Share Posted August 15, 2014 I have remade it with sounds, and a nice fire shader ready for the workshop. But the material strips off the shader. Shader is placed in the same directory as the material. So local mat file looks like this : blendmode=3 castshadows=0 zsort=1 cullbackfaces=0 depthtest=1 depthmask=0 diffuse=1.00000000,1.00000000,1.00000000,1.00000000 specular=0.501960814,0.501960814,0.501960814,0.501960814 alwaysuseshader=0 mappingscale=1.00000000,1.00000000,1.00000000 drawmode=-1 shader="./flames.shader" (also tried without ./ ) But when uploaded to Workshop, the material just has a blank field on the shader when materials is opened. The log says : Loading material "flames.mat" [300989568]... Loading shader "C:/Users/fk/Documents/Leadwerks/Projects/to3/flames.shader"... Error: Failed to load shader "C:/Users/fk/Documents/Leadwerks/Projects/to3/flames.shader" Oh and this is what it should look like if I get it correctly uploaded : HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Josh Posted August 21, 2014 Share Posted August 21, 2014 This will likely be a little trickier to figure out, so I am trying to fix the easy problems first. But it does have my attention. 1 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...
AggrorJorn Posted August 21, 2014 Share Posted August 21, 2014 Will that also include a look at attached scripts and phy files? Because those go missing as well. Link to comment Share on other sites More sharing options...
Josh Posted September 9, 2014 Share Posted September 9, 2014 I can make the engine guess the rest, but your script needs to be updated like this: Sound:Load("file_loop_01.wav",0,300989568) http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/sound/soundload-r516 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...
shadmar Posted September 9, 2014 Author Share Posted September 9, 2014 Ok, but the issue is really the material HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Josh Posted September 9, 2014 Share Posted September 9, 2014 I think this is fixed then. 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