Jump to content

grass texture help


Go to solution Solved by ladiszlai,

Recommended Posts

Can help me somebody with a transparency texture ? 

I made a grass md3 model and I tried to make a shader for the texture but it didn't worked.

I tried with this: 

 

textures/customgrass/customgrass
{
cull none
nopicmip
 
{
map textures/customgrass/customgrass
alphaFunc GE128
depthWrite
rgbGen vertex
}
}
 
Here is the texture:
 
grass_www.kepfeltoltes.hu_.png
 
Very Thanks if someone can help me
 
Link to comment
  • Solution

Thread split from 'Texture Help'

@@ladiszlai can you give more details about what isn't working? Perhaps a screenshot of the issue ingame?

The polycount around the texture (what I want to make to transparent) is white.

 

Edit:

 

The problem is solved:

In my GameData folder there was an another folder called textures (Gtkradiant created this) and it included the wrong grass texture, so I disabled this folder and now the shader works fine :)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...