PDA

View Full Version : useBackgroundShader / mip_matte_shadow not visible in refractions.


dangerweenie
06-26-2009, 10:06 PM
Hi

I can't get my shadow pass (alpha) to show up through refractive materials ... I really need to use it for compositing.

I've tried:

UseBackgroundShader refracted through a Phong
UseBackgroundShader refracted through mia_material
mip_matte_shadow refracted through mia_material

I've set all the trace depths for shadows and refractions up high, enabled "pass custom alpha" in r/globals, and checked "propagate alpha" in the mia_material (glass geometry between camera and shadowed object). All i seem to get is either solid white alpha (of the entire geometry), or nothing at all.

I checked master_zap's blog, djx's blog, and the mental images production shader manual, and everything works really well ... it's just getting these passes to distort through refractive geometry that I can't figure out ...

Sagroth
06-27-2009, 09:16 PM
Here's a link to related topic, but not exactly about your issue :)

http://www.sigillarium.com/blog/lang/en/175/

If you use mib_transparency -> mip_matteshadow technique mentioned there, you'll get your shadow in alpha through mia_material.

dangerweenie
06-28-2009, 09:37 AM
Here's a link to related topic, but not exactly about your issue :)

http://www.sigillarium.com/blog/lang/en/175/

If you use mib_transparency -> mip_matteshadow technique mentioned there, you'll get your shadow in alpha through mia_material.

I will check it out now, thanks much for replying!

CGTalk Moderation
06-28-2009, 09:37 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.