mixing camera projections
BlitzMax Forums/MiniB3D Module/mixing camera projections
| ||
Hi, My game uses cameraprojmode(2) to display the game on a flat plane without perspective (it's a 2d shooter using 3d models instead of sprites), however i'd like to be able to have proper 3d backgrounds (i.e. cameraprojmode(1) ) so i can have some fancy effects going on. Is it possible to mix the two in some way? I've considered rendering the background off screen and using backbuffertotex to capture it as a texture, then using that texture on a large surface behind the game area, but i think it would probably be a performance killer. Any suggestions much appreciated :) Cheers Charlie |
| ||
Yes, you just need two cameras, with a different projection mode for each. Set the CameraClsMode of the foreground camera to 0,1. |
| ||
Excellent, that's just what i wanted :) Thanks Si Cheers Charlie |
| ||
who said that? not me... Cheers Charlie |