Hi,
i used a textures of size 256*256 :), for the demo.
clear, it's not a real stencil method, but it's a same effect (without a shadow volume, i'm work for it).
a simple method :
- Set Caster, Receiver, Light (in to type)
- Capture silouhette to texture (called 'shadow z-buffer' method) with auto zoom object
- Apply texture to mesh with recalculate UV to receiver mesh.
It's simple not ? :)
Sorry for my poor english.
i used a textures of size 256*256 :), for the demo.
clear, it's not a real stencil method, but it's a same effect (without a shadow volume, i'm work for it).
a simple method :
- Set Caster, Receiver, Light (in to type)
- Capture silouhette to texture (called 'shadow z-buffer' method) with auto zoom object
- Apply texture to mesh with recalculate UV to receiver mesh.
It's simple not ? :)
Sorry for my poor english.