Leyder Dylan
05-26-2003, 09:43 AM
Here we go ...
I'd like to add reflection in my engine. I know hot to do that but I need your advice, dear readers ...
Basically, we must write the reflection zone into the stencil buffer, next, add the scene who must be reflected into the stencil buffer and after we display the relfection zone and the object.
My question is for the reflected zone :
I think that it's more powerful if I only add the reflected polygons into the stencil buffer instead of adding ALL zone into the stencil buffer. Right ?
But, how do you do for sorting the only reflected polygons. I need to determine wich polygons who will be reflected but now f....... idea ...
Thanks a lot.
I'd like to add reflection in my engine. I know hot to do that but I need your advice, dear readers ...
Basically, we must write the reflection zone into the stencil buffer, next, add the scene who must be reflected into the stencil buffer and after we display the relfection zone and the object.
My question is for the reflected zone :
I think that it's more powerful if I only add the reflected polygons into the stencil buffer instead of adding ALL zone into the stencil buffer. Right ?
But, how do you do for sorting the only reflected polygons. I need to determine wich polygons who will be reflected but now f....... idea ...
Thanks a lot.