mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Add cubemap arrays, as well as control for generation of MIPs on texture targets.
This commit is contained in:
parent
0c3fc59ccc
commit
1f7cf55204
25 changed files with 412 additions and 60 deletions
|
|
@ -63,7 +63,12 @@ public:
|
|||
// Update a static cubemap @ pos
|
||||
void updateFaces();
|
||||
|
||||
void setCubemapFile(FileName newCubemapFile);
|
||||
|
||||
void setCubeFaceFile(U32 index, FileName newFaceFile);
|
||||
|
||||
void setCubeFaceTexture(U32 index, GFXTexHandle newFaceTexture);
|
||||
|
||||
GFXTexHandle* getCubeMapFace(U32 faceIdx) { return &mCubeFace[faceIdx]; }
|
||||
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue