Rick Posted June 4, 2014 Share Posted June 4, 2014 I have a tree with leafs (Northern Veg from Dexsoft). What is the correct shader and material settings again to make the transparency look right? Can't get it to look correct in 3.1. I have the old LE 2 model viewer still installed and the gmf looks right in there with it's using the old sway alphatest shaders, but I don't see anything equal to that in LE 3.1. Quote Link to comment Share on other sites More sharing options...
gamecreator Posted June 4, 2014 Share Posted June 4, 2014 http://www.leadwerks.com/werkspace/topic/9430-oak-tree-from-le-2/ Quote Link to comment Share on other sites More sharing options...
cassius Posted June 4, 2014 Share Posted June 4, 2014 I think I used diffuse+normal+alphatest.Looks ok but not as good as in le2 EDIT: or was it alphamask? Not really my speciality Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
Rick Posted June 4, 2014 Author Share Posted June 4, 2014 So when I set this I can see all the planes of the leafs (before some would be invisible based on the camera angle). The issue I have is that in the texture the area that should be transparent is green and so in LE 3.1 that green area is showing on the plane so it doesn't look right. However, in LE 2 it's the same texture with green areas for the transparent areas and it looks right with transparency. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted June 4, 2014 Share Posted June 4, 2014 be sure to select dxt5 otherwise alpha channels are not supported. 1 Quote Link to comment Share on other sites More sharing options...
Rick Posted June 4, 2014 Author Share Posted June 4, 2014 That did it! ty sir. Have to remember this now Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted June 4, 2014 Share Posted June 4, 2014 had the exact same issue with the green texture last week. For other visitor of this topic: Quote Link to comment Share on other sites More sharing options...
Charrua Posted June 12, 2014 Share Posted June 12, 2014 thank's dxt5 does the difference for me too! Quote Paren el mundo!, me quiero bajar. Link to comment Share on other sites More sharing options...
YouGroove Posted June 14, 2014 Share Posted June 14, 2014 It is a bug with alpha ? or using dxt5 only ? Quote Stop toying and make games 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.