YouGroove Posted December 31, 2014 Posted December 31, 2014 Hi, I made a sprite object in LE3 and put a material that is a PNG texture, with the diff/norm/spc/alphamask shader. The problem is that semi transparent black color appears full black on LE3. I tested transparent.shader and the result is even worst with a general transparency problem showing dots Does anyone know a way to have semi transparent colors in LE3 ? Quote Stop toying and make games
gamecreator Posted December 31, 2014 Posted December 31, 2014 I tend to direct people to these threads but I have a feeling you already tried the suggestions http://www.leadwerks.com/werkspace/topic/10698-softened-alpha-for-plants/ http://www.leadwerks.com/werkspace/topic/8999-fence-shadowing/ 1 Quote
nick.ace Posted December 31, 2014 Posted December 31, 2014 Try this: //Leadwerks Material File blendmode=1 castshadows=0 zsort=1 cullbackfaces=1 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="Shaders/Model/diffuse.shader" texture0="./skid.tex" Obviously replace the .tex file. This seems to work pretty well for me. 1 Quote
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.