Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ThinFilm.h
Go to the documentation of this file.
1#pragma once
2
4#include "Math/math_fwd.h"
5#include "Actor/Image/Image.h"
7
8#include <memory>
9#include <vector>
10
11namespace ph
12{
13
15{
16public:
17 ThinFilm();
18
19 void genSurface(const CookingContext& ctx, SurfaceBehavior& behavior) const override;
20
21private:
22 std::vector<real> m_wavelengthTable;
23 std::vector<real> m_reflectanceTable;
24 std::vector<real> m_transmittanceTable;
25};
26
27}// end namespace ph
Information about the world being cooked.
Definition CookingContext.h:24
Definition SurfaceBehavior.h:15
Definition SurfaceMaterial.h:15
Definition ThinFilm.h:15
void genSurface(const CookingContext &ctx, SurfaceBehavior &behavior) const override
Definition ThinFilm.cpp:15
ThinFilm()
Definition ThinFilm.cpp:11
The root for all renderer implementations.
Definition EEngineProject.h:6