Bruno
01-13-2001, 02:41 AM
Hi
I have shadow working in my little world, but i'm kind of worried that for each shadow i map on a surface, i have to clear the stencil buffer with glClear(GL_STENCIL_BUFFER_BIT), and this is too expensive in a big world.., if i need to project the model in 10 polygons it would be extremely expensive to clear the stencil buffer 10 times, wouldn't it ?
thanks
Bruno
I have shadow working in my little world, but i'm kind of worried that for each shadow i map on a surface, i have to clear the stencil buffer with glClear(GL_STENCIL_BUFFER_BIT), and this is too expensive in a big world.., if i need to project the model in 10 polygons it would be extremely expensive to clear the stencil buffer 10 times, wouldn't it ?
thanks
Bruno