ModelParameters no longer contains shaderName field
Instead it will now set the shaderName field of the material field to PhongLighting Former-commit-id: 55b7f5500c7dc2c147f32a7c214a8e75ea434ff1
This commit is contained in:
@@ -12,6 +12,11 @@
|
||||
#include <memory>
|
||||
#include <Nazara/Graphics/Debug.hpp>
|
||||
|
||||
NzModelParameters::NzModelParameters()
|
||||
{
|
||||
material.shaderName = "PhongLighting";
|
||||
}
|
||||
|
||||
bool NzModelParameters::IsValid() const
|
||||
{
|
||||
if (loadAnimation && !animation.IsValid())
|
||||
|
||||
Reference in New Issue
Block a user