Exportin An object with transparency frrom blender

Tips and discussion about scenery creation for RailWorks.

Exportin An object with transparency frrom blender

Unread postby TheConductor » Thu Feb 14, 2019 1:01 pm

I am working in blender and i need to know how to export a model with alpha transparency, i have the correct texture setup so now is just the model that has the issue.
Screenshot (134).jpg
You do not have the required permissions to view the files attached to this post.
User avatar
TheConductor
 
Posts: 38
Joined: Sat Jan 27, 2018 2:09 am
Location: Not sure i kinda got lost?

Re: Exportin An object with transparency frrom blender

Unread postby kris120 » Thu Feb 14, 2019 3:24 pm

You need a shader which is able to use transparency.
One of the most easy one is TrainBasicObjectDiffuse.fx

Transparency is only exported when you tell the exporter to use it.
Write the name of the material (here with the name "Material") in this section of YourSample_IGSExpModFile2.txt or IGSExpModFile2.txt
[Materials:AlphaTestMode]
Material=1

Read the manual of the exporter. This is really necessary and very informative.

Kris
User avatar
kris120
 
Posts: 468
Joined: Mon Jul 22, 2013 3:19 pm
Location: Augsburg, Bavaria, Germany

Re: Exportin An object with transparency frrom blender

Unread postby TheConductor » Sun Feb 17, 2019 12:39 pm

kris120 wrote:You need a shader which is able to use transparency.
One of the most easy one is TrainBasicObjectDiffuse.fx

Transparency is only exported when you tell the exporter to use it.
Write the name of the material (here with the name "Material") in this section of YourSample_IGSExpModFile2.txt or IGSExpModFile2.txt
[Materials:AlphaTestMode]
Material=1

Read the manual of the exporter. This is really necessary and very informative.

Kris

I did read the manual but i misrtead it and thought that you put the shader name in the alphatest slot not the object name thanks so much. Sometime its just these little things that i get hung up on.
Screenshot (135).jpg
You do not have the required permissions to view the files attached to this post.
User avatar
TheConductor
 
Posts: 38
Joined: Sat Jan 27, 2018 2:09 am
Location: Not sure i kinda got lost?

Re: Exportin An object with transparency frrom blender

Unread postby RailWanderer » Sun Feb 17, 2019 1:47 pm

Looks good, glad you got it figured out.... !!*ok*!!
RailWanderer (John)

He who walks the rails must be conscious of his environment.
User avatar
RailWanderer
 
Posts: 475
Joined: Wed Dec 14, 2016 9:00 am
Location: Ohio


Return to Scenery Design

Who is online

Users browsing this forum: No registered users and 1 guest