Jump to content

How to set a material to get a nice smooth foliage look?


photo

Recommended Posts

Posted

Hello,

 

i am playing with the grass as I want to us it for our project, rendering patches of dry grass.

 

This works not very well, as I am having difficulties to set it to a nice smooth quality.

 

When I am only using the alpha test in the material, I have very ugly rough edges, which eat up the whole grass  moving away with the camera.

(because of the mipmapping I guess).

 

When using the blendmodes to use a smooth alpha channel, I get a very weird, result.

It seems that the blendmode is creating an addition of the color to the scene. (that halo).

Turning down the alpha as a test, only the blended part remains.

 

I have tried a lot of settings and combinations, but couldnt get to a result.

 

Can please someone help me in setting this up correctly.

 

Thx.

 

Werner

 

 

post-767-0-15566400-1382367406_thumb.jpg

post-767-0-77650500-1382367407_thumb.jpg

post-767-0-74991200-1382367409_thumb.jpg

post-767-0-08546400-1382367633_thumb.jpg

post-767-0-80329700-1382367634_thumb.jpg

Posted

I would recommend to take valley demo grass material and object settings as a template. Look into *.mat and *.world files should give some good starting point.

 

Also it might improve grass quality if your grass texture provides proper mipmap level. Once again I would have a look at the valley grass textures as a best-practice guideline

Posted

Ok, this 'Halo' glow was the missing ambient light checkbox.

 

I think there is a lot to achieve with the alpha channels. Need to play.

×
×
  • Create New...