Jump to content

Recommended Posts

Posted

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.

alphabug.jpg

 

I tested transparent.shader and the result is even worst with a general transparency problem showing dots

alphabug2.jpg

 

Does anyone know a way to have semi transparent colors in LE3 ?

Stop toying and make games

Posted

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.

  • Upvote 1

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...