Graphics/Material: Fix missing reflection initialization
This commit is contained in:
@@ -212,7 +212,7 @@ namespace Nz
|
||||
bool m_shadowCastingEnabled;
|
||||
float m_alphaThreshold;
|
||||
float m_shininess;
|
||||
unsigned int m_reflectionSize;
|
||||
unsigned int m_reflectionSize;
|
||||
|
||||
static std::array<int, TextureMap_Max + 1> s_textureUnits;
|
||||
static MaterialLibrary::LibraryMap s_library;
|
||||
|
||||
@@ -1258,7 +1258,7 @@ namespace Nz
|
||||
/*!
|
||||
* \brief Changes reflection mode of the material
|
||||
*
|
||||
* When reflections are enable, the material will render reflections from the object environment according to the reflection mode.
|
||||
* When reflections are enabled, the material will render reflections from the object environment according to the reflection mode.
|
||||
* This function does change the reflection mode used by the material.
|
||||
*
|
||||
* Skyboxes reflections are the cheapest but are static and thus can't reflect other objects.
|
||||
|
||||
Reference in New Issue
Block a user