How does OGL render matte or pure black?

   2328   3   0
User Avatar
Member
620 posts
Joined: Nov. 2013
Offline
Hi,

I'll render previz by opengl rop. I need matte all objects to isolate main actor. But ogl rop hasn't “force matte” parameter.
Is there any method to matte out objects in ogl? If not, is there some simple way to set all matte objects to pure black in ogl?

Thanks!
User Avatar
Member
7737 posts
Joined: Sept. 2011
Offline
I don't think opengl can do matte shading.
User Avatar
Member
68 posts
Joined: Sept. 2014
Offline
- for pure black you can use a Toonshader - it worked for me
User Avatar
Member
7737 posts
Joined: Sept. 2011
Offline
w_maro
- for pure black you can use a Toonshader - it worked for me

it's easy to get all black in the color channel, but what about black alpha that occludes? I'm not sure if that's possible in a single pass.
  • Quick Links