Multiple Camera, one sprite, different texture

Blitz3D Forums/Blitz3D Programming/Multiple Camera, one sprite, different texture

LamptonWorm(Posted 2009) [#1]
Hi,

I've got multiple cameras viewing the same sprite, but for each camera I want to re-texture the sprite so each camera see's a different image on the sprite.

I was trying to change the image, renderworld, change image, renderworld, but I'm missing something as it isn't working.

Thoughts welcome :)

Cheers,
LW.


El Gigante de Yeso(Posted 2009) [#2]
The actual process you're following is the correct, perhaps you haven't disabled the cameras correctly? Can you post the code you're using?


LamptonWorm(Posted 2009) [#3]
Ah man, figured it out. The other factor was the camera (sprite was child of each players camera).

I was using hide entity on the camera but I needed to use cameraprojmode instead, which works a treat.

I couldn't do a hide entity on camera then show entity on sprite (sprite was child of camera), it wasn't showing the sprite. But using projmode all is well :)

Cheers,