Radium Engine  1.5.20
Loading...
Searching...
No Matches
LambertianMaterial.hpp
1#pragma once
2
3#include <Engine/Data/SimpleMaterial.hpp>
4
5namespace Ra {
6namespace Engine {
7namespace Data {
8
9namespace TextureSemantics {
13} // namespace TextureSemantics
14
26class RA_ENGINE_API LambertianMaterial final : public SimpleMaterial
27{
28 public:
33 explicit LambertianMaterial( const std::string& instanceName );
34
35 ~LambertianMaterial() override = default;
36
42 static void registerMaterial();
43
48 static void unregisterMaterial();
49
50 void updateFromParameters() override;
51
52 nlohmann::json getParametersMetadata() const override;
53
54 private:
55 static nlohmann::json s_parametersMetadata;
56};
57
58} // namespace Data
59} // namespace Engine
60} // namespace Ra
Implementation of the Lambertian Material BSDF.
Base implementation for simple, monocolored, materials.
SimpleMaterial
SimpleMaterial's textures.
hepler function to manage enum as underlying types in VariableSet
Definition Cage.cpp:3