Two-pass stencil for colored + lit mesh
πΌοΈ Renderingβ’Updated 2 days agoβ’0 views
Do 2 passes: first pass draws the colored mesh writing color+stencil, second pass draws the lit mesh testing against that stencil - you can't combine both in onβ¦
How to render a mesh with vertex colors AND lighting
Do 2 passes: first pass draws the colored mesh writing color+stencil, second pass draws the lit mesh testing against that stencil - you can't combine both in one pass.