Shader transparencey question

Tips and discussion about scenery creation for RailWorks.

Shader transparencey question

Unread postby dogrokket » Tue Aug 19, 2014 10:42 pm

Let's say I wanted to make a window pane by placing an image with an alpha channel on a plane object. What is the best shader to use? BlendATex works fairly well, but it blurs when it's against the sky. TrainBasicObjectDiffuse.fx may work, but I haven't figured something out there. This isn't a loft object, so I'm not sure if a loft shader would be appropriate. any suggestions?
Down another rabbit hole we go....
User avatar
dogrokket
 
Posts: 176
Joined: Wed May 08, 2013 2:18 pm

Re: Shader transparencey question

Unread postby dogrokket » Tue Aug 19, 2014 11:20 pm

Answered my own question... *!lol!* Use TrainBasicObjectDiffuse.fx and in the blender exporter, set alpha test channel to 1. booyah..
Down another rabbit hole we go....
User avatar
dogrokket
 
Posts: 176
Joined: Wed May 08, 2013 2:18 pm

Re: Shader transparencey question

Unread postby Bananarama » Tue Aug 19, 2014 11:44 pm

Cheers!
Marc - 3DTrains

Image
User avatar
Bananarama
 
Posts: 2749
Joined: Sat Feb 14, 2009 1:17 am
Location: Another Planet

Re: Shader transparencey question

Unread postby dogrokket » Wed Aug 20, 2014 12:38 am

Hack wrote:http://the-art-of-rws.blogspot.com/2009/11/shaders-and-kuju-materials-trainglassfx.html

:D

Thanks for the reminder Hack! CRS has set in...
Down another rabbit hole we go....
User avatar
dogrokket
 
Posts: 176
Joined: Wed May 08, 2013 2:18 pm


Return to Scenery Design

Who is online

Users browsing this forum: No registered users and 1 guest