Hi
is it possible to show parts in foreground transparent instead of cutting them
away with the near option in camerasettings automaticaly?
thangs
max
show foregroud transparent (instead of cutting away)
-
- Posts: 15
- Joined: Fri Jun 03, 2011 9:35 am
-
- Posts: 1215
- Joined: Tue Jan 09, 2007 7:03 pm
- Location: Leuven, Belgium
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
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