feat: createIbl

This commit is contained in:
Nick Fisher
2024-08-27 21:47:02 +08:00
parent 8923d97129
commit 3ecb8920ea

View File

@@ -71,6 +71,7 @@ namespace thermion_filament
void loadIbl(const char *const iblUri, float intensity); void loadIbl(const char *const iblUri, float intensity);
void removeIbl(); void removeIbl();
void rotateIbl(const math::mat3f &matrix); void rotateIbl(const math::mat3f &matrix);
void createIbl(float r, float g, float b, float intensity);
void removeEntity(EntityId asset); void removeEntity(EntityId asset);
void clearEntities(); void clearEntities();
@@ -172,6 +173,7 @@ namespace thermion_filament
void* _context = nullptr; void* _context = nullptr;
Scene *_scene = nullptr; Scene *_scene = nullptr;
View *_view = nullptr; View *_view = nullptr;
Engine *_engine = nullptr; Engine *_engine = nullptr;
thermion_filament::ThreadPool *_tp = nullptr; thermion_filament::ThreadPool *_tp = nullptr;
Renderer *_renderer = nullptr; Renderer *_renderer = nullptr;