Alessandro Posted July 3, 2010 Share Posted July 3, 2010 Hello, I'm creating a game with cell-shading. So I found a couple of scripts in GLSL in internet to apply a cartoon-style effect. Since I have a few experience in LE, I simply tried to copy vertex and fragment shader in shaders.pak, then I tried to apply them in the OILDRUM existing model: shader="abstract::toon.vert","abstract::toon.frag" I tried with two different shaders but as soon as I use the barrel, LE crash (in editor). What is happening? is it possible that both the shaders are buggy? Please give me some hints to follow the right way! Thank you! Quote Link to comment Share on other sites More sharing options...
macklebee Posted July 4, 2010 Share Posted July 4, 2010 if you want a decent toon shader look at the old forum regarding this post Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Alessandro Posted July 4, 2010 Author Share Posted July 4, 2010 if you want a decent toon shader look at the old forum regarding this post I found that forum, but the link works no more. But now I wish to know how I can use shaders in LE. I red that I could put VERT and FRAG ( I tried to put them in the main pack, then I putted them in MESH subfolder), but as soon as I assign those shaders to the mesh OILDRUM, LE editor crash when I put such mesh in the editor self (create an instance). I don't think both shaders were wrong (buggy) so I cannot understand what's wrong. Can you explain me that? Thank you Quote Link to comment Share on other sites More sharing options...
CopperCircle Posted July 12, 2010 Share Posted July 12, 2010 Hi, the link on the last page of that forum works, extract the shaders.pak to a folder within the leadwerks SDK folder and then get rid of the shaders.pak file, you can then put your shaders in the shaders folder and assign them to models. Quote 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.