Page 1 of 1

Exportin An object with transparency frrom blender

Unread postPosted: Thu Feb 14, 2019 1:01 pm
by TheConductor
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

Re: Exportin An object with transparency frrom blender

Unread postPosted: Thu Feb 14, 2019 3:24 pm
by kris120
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

Re: Exportin An object with transparency frrom blender

Unread postPosted: Sun Feb 17, 2019 12:39 pm
by TheConductor
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

Re: Exportin An object with transparency frrom blender

Unread postPosted: Sun Feb 17, 2019 1:47 pm
by RailWanderer
Looks good, glad you got it figured out.... !!*ok*!!