Cliping Viewports
Posted: Mon Sep 08, 2008 7:05 pm
Is there a way I could clip the Viewport to be smaller than the ViewPorts height & width.
The reason is that in my RPG a fairly large part of the screen is constantly covered with few textures (like sidebars at top bottom and right or left). Since the scene is effectively never visible over the whole screen there is no point in rendering everything just to be covered with the textures.
I guess the real question is: can I somehow tell Irrlicht to change its frustum culling based on the precalculated "visible" rectangle area?
The reason is that in my RPG a fairly large part of the screen is constantly covered with few textures (like sidebars at top bottom and right or left). Since the scene is effectively never visible over the whole screen there is no point in rendering everything just to be covered with the textures.
I guess the real question is: can I somehow tell Irrlicht to change its frustum culling based on the precalculated "visible" rectangle area?