View Full Version : Lightmass: Transparent Material
jocose
09-12-2010, 06:30 PM
I made a transparent material but I cant get light to pass through it from one side to the other.
Does anyone know if there is any trick to making lightmass work with a transparent material?
Ben Apuna
09-12-2010, 07:24 PM
Is that (http://udn.epicgames.com/Three/Lightmass.html#Translucent%20shadows) what you're looking for, or this (http://udn.epicgames.com/Three/Lightmass.html#Masked%20shadows)?
so I guess:
Lit materials
BLEND_Translucent and BLEND_Additive: Transmission = Lerp(White, Diffuse, Opacity)
BLEND_Modulate: Transmission = Diffuse
BLEND_Masked
Unlit materials
BLEND_Translucent and BLEND_Additive: Transmission = Lerp(White, Emissive, Opacity)
BLEND_Modulate: Transmission = Emissive
BLEND_Masked
jocose
09-12-2010, 09:24 PM
Perfect Ben I had a go re-creating "this (http://udn.epicgames.com/Three/Lightmass.html#Masked%20shadows)" :P and got it working with your setup. Not sure what I was doing wrong the first time around if I figure it out I will post back here.
As always you've been a huge help thanks a bunch!
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.