Jump to content

[SOLVED] How to set the correct Alpha Blending/Alpha Test Material


photo

Recommended Posts

Posted

Hello,

 

I want to achieve a very simple thing.

 

i want to do some simple bushes, using a clutter.

 

But I cannot figure out the material settings for those.

 

I use blending (alpha channel texture) and alpha test.

 

When I set both, I get this weird Halo glow of the objects. This would go away, using light blending tickbox. But then the objects are really dark and dont seem to react to ambient light.

Can someone please give me a hint, how I need to set the material to get the desired result.

 

 

I am playing with the alpha channels of the textures. It is very hard to control the level of the alpha channel and the mip maps.

It would be helpful to have the control over the alpha value of the alpha test (?)

 

Seems to be a lot of tweaking of the actual textures to get the desired result.

I am trying without blending atm as blending costs a lot.

 

 

 

Cheers

 

Werner

post-767-0-02233500-1403712054_thumb.jpg

post-767-0-04357200-1403712057_thumb.jpg

post-767-0-93521400-1403712410_thumb.jpg

Posted

now after some testing I got back to the version WITH Blending as the quality is not satisfying with the distance settings.

 

I still have this issue of the lightblending.

 

Basically it is the World light which is causing this. 

 

 

......

 

Back to No blending, just ALPHA test.

 

And I have designed the mipmaps separately in a way, to keep the alpha more present at higher mips stages, so that seem to work the best atm.

 

 

post-767-0-05630000-1403867969_thumb.jpg

post-767-0-85095900-1403870127_thumb.jpg

  • 2 weeks later...
Posted

Hi Werner,

 

Sorry for the late reply.

 

Please check our new backbrush nodes from <SDK>/data/library/nodes/vegetation directory. Maybe their material settings will give you more useful information about vegetation configurataion.

 

Also, could you please provide a minimal test scene with your bushes to check?

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Hi,

 

no worry about late reply.

 

Yes, I think the samples helped me. 

I didnt think of using leaves material for a bush.

 

The 'phong shading' and the 'ambient light' option was important. So the distance fade seem to work now.

I will keep on playing.

 

Thanks!

 

Werner

×
×
  • Create New...