mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 11:47:42 +00:00
Support for rendering dynamic cubemaps
This commit is contained in:
@@ -176,6 +176,8 @@ enum class ETexelFormat {
|
||||
#define DEPTH_SCREEN_ACTORS (1.f / 64.f)
|
||||
#define DEPTH_HUD (1.f / 512.f)
|
||||
#define DEPTH_NEAR 0.f
|
||||
#define CUBEMAP_RES 256
|
||||
#define CUBEMAP_MIPS 6
|
||||
|
||||
class CGraphics {
|
||||
public:
|
||||
@@ -268,6 +270,8 @@ public:
|
||||
static boo::IGraphicsCommandQueue* g_BooMainCommandQueue;
|
||||
static boo::ObjToken<boo::ITextureR> g_SpareTexture;
|
||||
|
||||
static const zeus::CMatrix3f skCubeBasisMats[6];
|
||||
|
||||
static void InitializeBoo(boo::IGraphicsDataFactory* factory, boo::IGraphicsCommandQueue* cc,
|
||||
const boo::ObjToken<boo::ITextureR>& spareTex) {
|
||||
g_BooPlatform = factory->platform();
|
||||
|
||||
Reference in New Issue
Block a user