mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
DDS cubemap support
This commit is contained in:
parent
412c0380f4
commit
a2fa9838e5
2 changed files with 50 additions and 17 deletions
|
|
@ -63,8 +63,11 @@ public:
|
|||
// Update a static cubemap @ pos
|
||||
void updateFaces();
|
||||
|
||||
protected:
|
||||
void setCubeFaceFile(U32 index, FileName newFaceFile);
|
||||
GFXTexHandle* getCubeMapFace(U32 faceIdx) { return &mCubeFace[faceIdx]; }
|
||||
|
||||
protected:
|
||||
FileName mCubeMapFile;
|
||||
FileName mCubeFaceFile[6];
|
||||
GFXTexHandle mCubeFace[6];
|
||||
|
||||
|
|
@ -73,4 +76,3 @@ protected:
|
|||
};
|
||||
|
||||
#endif // CUBEMAPDATA
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue