Page 1 of 1

colored shadows behind transparency film or fake glass

Posted: Mon Mar 11, 2013 10:52 pm
by AlexP
This would be perfect way to make colored glass (ags can't do that) and other very thin transparent materials. Thearender has it and colored shadows are visible through.

Re: colored shadows behind transparency film or fake glass

Posted: Tue Jul 30, 2013 1:44 am
by AlexP

Re: colored shadows behind transparency film or fake glass

Posted: Tue Jul 30, 2013 2:18 pm
by Bubbaloo
Haha, that looked terribly fake.

Re: colored shadows behind transparency film or fake glass

Posted: Tue Jul 30, 2013 4:26 pm
by AlexP
Of course, but a lot easier then photoshop...

Re: colored shadows behind transparency film or fake glass

Posted: Wed Jul 31, 2013 11:53 am
by Fernando Tella
Hmm I remember I have seen some kind of tinted AGS in the past at the early moments of V2 even in the wizard. I can't find it now, though.

Re: colored shadows behind transparency film or fake glass

Posted: Wed Jul 31, 2013 11:54 am
by AlexP
Only reflection of AGS is tinted.

Re: colored shadows behind transparency film or fake glass

Posted: Wed Jul 31, 2013 12:30 pm
by Fernando Tella
You can add over the "normal" AGS layer from wizard an additive layer with black Ref0º and black Ref90º, the color you want in Transmittance, adjust attenuation to 1cm more or less, ND=1 and roughness = 0

It will be fast, although not a real AGS but it will have the shadow color you set at transmittance (the shadow will be too dark if seen through the glass as with normal glass).

Re: colored shadows behind transparency film or fake glass

Posted: Wed Jul 31, 2013 5:50 pm
by eric nixon
This doesnt actually work Fernando? have you tried it?

I mean it renders slower / noisier than a solid piece of geo, and looks all wrong? Have to call wishful thinking on this one, hope you dont mind too much :|

Re: colored shadows behind transparency film or fake glass

Posted: Wed Jul 31, 2013 6:13 pm
by Fernando Tella
Yep, I think it does. I was trying while typing.

On the left: a piece of 1cm thick real red glass. On the right: the same but made with what I tried to describe (clumsily probably). The image reached SL 11.
Image

This is the mxm:
http://www.ftella.com/links/colored_glass.mxm

I have to admit there's not much difference with real glass, but it works.

Re: colored shadows behind transparency film or fake glass

Posted: Wed Jul 31, 2013 10:39 pm
by eric nixon
It might be 'working' in that render due to the material having transparency Red gun @ 255 > so there is no attenuation. I tried it (ill admit that) with an emitter and a map for trans and it rendered horribles... as expected due to the infinite attenuation you get without solid geo for refraction (nd 1 is still refracting).

Re: colored shadows behind transparency film or fake glass

Posted: Thu Aug 01, 2013 12:30 am
by Fernando Tella
eric nixon wrote:having transparency Red gun @ 255 > so there is no attenuation.
Here I see attenuation even with pure colors. :?: And it looks fine with not pure colors too. Can't see why it won't work; it's just the transmissive part of a red glass (with nd=1) added on top of an ags layer.
... as expected due to the infinite attenuation you get without solid geo for refraction
Hey, don't break your experiments like that! :lol: