Jump to content

how to set materials to be transparent?


photo

Recommended Posts

Posted

I don't mean the alpha-test option, I mean how to create the transparent effect like resourceeditor's surface setting?

Posted

I don't mean the alpha-test option, I mean how to create the transparent effect like resourceeditor's surface setting?

post-48-0-91048300-1291981336_thumb.jpeg

Posted

Also have a look into documentation section

 

Content Creation\Materials Overview\Blending Options

 

for effects of different src/dest blend mode combinations.

Posted

seems this kind of transparent can not work together with WorldLight... :lol:

Posted

seems this kind of transparent can not work together with WorldLight... :lol:

 

I wouldn't expect this. What's the actual problem (screenshot,test case, ..) ?

Posted

here is the screenshot. you can see the problem.

post-49-0-40245800-1292323051_thumb.jpg

Posted

great! the leaves looks better, but , there is another problem by this setting, the shadow is rendered all wrong. take look at the screenshot.

 

post-49-0-46885200-1292377032_thumb.jpg

better leaves, wrong shadow

 

 

post-49-0-95626400-1292377049_thumb.jpg

correct shadow

Posted

wrong shadow/correct shadow

 

So if you have already both - wrong and working - configurations, what is the difference between both material settings ?

Posted

correct shadow was unmodified setting,

 

wrong shadow use this:

post-49-0-20211400-1292407859_thumb.jpg

 

Seems I've understood what happened here, because I didn't check the alpha test, so the shadow pass rendered all leaves as full opacity. that's why shadows is wrong.

Posted

Seems I've understood what happened here, because I didn't check the alpha test, so the shadow pass rendered all leaves as full opacity. that's why shadows is wrong.

 

Ok, so your problems are gone, right ? performance wise I would recommend to disable blending if alpha testing for foilage is sufficient.

Posted

Ok, so your problems are gone, right ? performance wise I would recommend to disable blending if alpha testing for foilage is sufficient.

Just an explanation of the performance penalty. With non blended and alpha tested materials the objects can be drawn to screen in any order. With alpha blended objects the objects have to be sorted first and drawn from far to near as you can imagine this does add a bit of overhead to the scene especially when you have a lot of objects.

Posted

thank you for your tips, I know this setting will have some impact with performance.

 

I'm asking here just to figure out how to do this. thank you anyway :)

×
×
  • Create New...