Page 1 of 1
show foregroud transparent (instead of cutting away)
Posted: Fri Jun 03, 2011 1:47 pm
by max6666north
Hi
is it possible to show parts in foreground transparent instead of cutting them
away with the near option in camerasettings automaticaly?
thangs
max
Posted: Fri Jun 03, 2011 1:54 pm
by Radikalizm
Not natively, no; you'll have to implement this yourself
You could check every vertex of an object for its distance relative to the near plane, you can then set its vertex alpha accordingly
You should set a distance range in between which you want your vertices to become transparent, you can then do an interpolation between the distance vertex <-> near plane and the distance range to get your desired alpha value
Posted: Fri Jun 03, 2011 11:35 pm
by Mel
Other way is to make the scene nodes transparent when they pass between the camera and the target. Check the collision methods, it is somewhat easy to do something like that.
Posted: Tue Jun 14, 2011 8:02 pm
by Klunk
this sort of thing could also handled in a shader a bit like a backwards fog but working on vertex alpha.