mdgunn Posted January 5, 2017 Share Posted January 5, 2017 Can anyone explain or provide an example of a material using the transparent shader and any key things you need to do or set. Thanks Quote Link to comment Share on other sites More sharing options...
mdgunn Posted January 5, 2017 Author Share Posted January 5, 2017 I have something transparent. Z-sort seemed to be the key (thought I'd already tried that). Seems difficult to get something that is only slightly transparent. Maybe this is the way this transparency works, or are you supposed to modify the shader or pass values into it? Quote Link to comment Share on other sites More sharing options...
Genebris Posted January 5, 2017 Share Posted January 5, 2017 You need blend mode set to alpha, z sort enabled and change diffuse color to half transparent. There is also default glass material in Materials/Effects in FPS template. But all half transparent materials really don't work well in Leadwerks, they won't receive shadows. 1 Quote Link to comment Share on other sites More sharing options...
mdgunn Posted January 5, 2017 Author Share Posted January 5, 2017 Thanks for the info. I'll do a few more tests when I get home. 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.