add oidn
This commit is contained in:
parent
351a5d842e
commit
8b54ca0216
10 changed files with 87 additions and 20 deletions
|
|
@ -26,6 +26,7 @@ namespace tp {
|
|||
|
||||
public:
|
||||
RayTracer() = default;
|
||||
|
||||
void render(const Scene& scene, OutputBuffers& out, const RenderSettings& settings);
|
||||
|
||||
private:
|
||||
|
|
@ -34,6 +35,7 @@ namespace tp {
|
|||
TrigCache* trig = nullptr;
|
||||
Vec3F hitPos = { 0, 0, 0 };
|
||||
bool hit = false;
|
||||
bool inv = false;
|
||||
};
|
||||
|
||||
struct LightData {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue