Hi all,
I have a particle system set up and want to render it with a backgroundimage behind, but i also have geometry that occludes the particle cloud in some areas. this geometry should not be visible for the camera but hide the particles when they are behind.
so i try to create a shader for that geometry which on the one hand is opac for propper occlusion culling but on the other hand is transparent/invisible for the cam.
I attached an example:
The green cube should be invisible but the intersecting part of the red cube should not be visible. Though the blue surface should be visible through all the red cube.
How do i have to configure the Shader for that? i tried out all kind of opacity/alphasettings…
Any idea?
Thanks in advance!
Cheers,
Stefan
shader opac for occlusion but transparent for color
4658 8 2-
- steff
- Member
- 25 posts
- Joined: May 2012
- Offline
-
- mickyblue
- Member
- 217 posts
- Joined: Sept. 2009
- Offline
-
- steff
- Member
- 25 posts
- Joined: May 2012
- Offline
-
- mickyblue
- Member
- 217 posts
- Joined: Sept. 2009
- Offline
-
- steff
- Member
- 25 posts
- Joined: May 2012
- Offline
-
- mickyblue
- Member
- 217 posts
- Joined: Sept. 2009
- Offline
-
- steff
- Member
- 25 posts
- Joined: May 2012
- Offline
-
- mickyblue
- Member
- 217 posts
- Joined: Sept. 2009
- Offline
-
- steff
- Member
- 25 posts
- Joined: May 2012
- Offline
-
- Quick Links



