Rick Posted June 4, 2014 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
gamecreator Posted June 4, 2014 Posted June 4, 2014 http://www.leadwerks.com/werkspace/topic/9430-oak-tree-from-le-2/ Quote
cassius Posted June 4, 2014 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++
Rick Posted June 4, 2014 Author 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
AggrorJorn Posted June 4, 2014 Posted June 4, 2014 be sure to select dxt5 otherwise alpha channels are not supported. 1 Quote
Rick Posted June 4, 2014 Author Posted June 4, 2014 That did it! ty sir. Have to remember this now Quote
AggrorJorn Posted June 4, 2014 Posted June 4, 2014 had the exact same issue with the green texture last week. For other visitor of this topic: Quote
Charrua Posted June 12, 2014 Posted June 12, 2014 thank's dxt5 does the difference for me too! Quote Paren el mundo!, me quiero bajar.
YouGroove Posted June 14, 2014 Posted June 14, 2014 It is a bug with alpha ? or using dxt5 only ? Quote Stop toying and make games
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.