prevent mirror copying

Blitz3D Forums/Blitz3D Programming/prevent mirror copying

Akat(Posted 2003) [#1]
how do we prevent a mirror (within B3D) from copying everything above it?... lets say i just want it 'reflect' only the building mesh and not include the character...


GfK(Posted 2003) [#2]
Simple answer - you can't.

Complicated answer - you can copy and invert a mesh to create a 'reflection' of a specific entity. Depending on your requirements you might have to mess about with EntityOrder or EntityAlpha to get the effect right.


_PJ_(Posted 2003) [#3]
Long winded-ish, and potentially huge slowdown, is render the mirror in a second camera, with selected objects showing/hidden - not an efficient solution though.


Akat(Posted 2003) [#4]
yup... i know it but in ugly texture u get


GfK(Posted 2003) [#5]
yup... i know it but in ugly texture u get

Wotcha talkin bout, Willis???


Akat(Posted 2003) [#6]
i meant for render mirror in a second camera...set it to texture buffer n then texture the plane... but still in blockish texture when u just set it to 256x256 - the bigger the res. the great texture u get but the slower game it result...