Refraction sorted by layer
by Ricardo Bencz · in Torque X 2D · 06/21/2010 (3:48 am) · 1 replies
Hello!
Im trying to make a background with a waterfall and this one is setup to refraction. The problem is that effect only affects everything behind the sprite. I would like to make it refract only what's bellow, like if i put the waterfall on layer 20 and all the layers until 31 will receive the effect. Is that possible?
Thanks in advance!
Im trying to make a background with a waterfall and this one is setup to refraction. The problem is that effect only affects everything behind the sprite. I would like to make it refract only what's bellow, like if i put the waterfall on layer 20 and all the layers until 31 will receive the effect. Is that possible?
Thanks in advance!
Torque Owner Steve Wigmore
Default Studio Name
alter the source.
force the draw after ur refraction layer.
buffer that.
draw the rest of the layers.
done.