About Store Forum Documentation Contact



Post Reply 
Material AlphaTest Technique Question
Author Message
fatcoder Offline
Member

Post: #1
Material AlphaTest Technique Question
When using the AlphaTest technique with just a Diffuse texture, everything works fine. However, if I add a Normal texture, then the AlphaTest technique stops working. The transparent parts of the Diffuse texture are drawn as a solid white color. Is it possible to have the AlphaTest technique test against the alpha channel of the Diffuse texture only, regardless of the other textures added to the material?
05-03-2010 09:08 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Material AlphaTest Technique Question
you should add textures using MeshEditor/WorldEditor Material Editor.
if normal map is used, alpha is stored in the secondary GFX.
05-03-2010 12:46 PM
Find all posts by this user Quote this message in a reply
fatcoder Offline
Member

Post: #3
RE: Material AlphaTest Technique Question
Yes, I am using the Material Editor in the Mesh Editor.

I drop a Diffuse texture on to the Diffuse slot. I can then slide the Color Alpha slider up/down to adjust the degree of alpha testing. This works well.

However I then have a second normal/specular texture. When I drop this on the Normal slot, the Color Alpha slider stops working. Sliding it up/down has no effect and the transparent parts of the Diffuse texture are drawn as solid white.

I can take some screen shots to show you if you like.
05-04-2010 01:52 AM
Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #4
RE: Material AlphaTest Technique Question
You should drag and drop all textures (diffuse, normal, specular etc) at the same time on Mesh Editor window.
05-04-2010 11:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply