Question: In Program 16.12, replace the blue roombox with the lake scene skybox. Dont forget to disable lighting on the skybox. Program 16.12 Compute Shader struct
In Program 16.12, replace the blue roombox with the lake scene skybox. Don’t forget to disable lighting on the skybox.
Program 16.12

Compute Shader struct Stack Element { int type; int depth; // type of ray ( 1 = reflected, 2 = refracted. Shadow rays are never pushed on stack) // depth of the recursive raytrace // which of the five phases of a recursive call is currently being processed // holds the computed ADS color // holds the reflected color int phase; vec3 phong_color, vec3 reflected_color;
Step by Step Solution
3.38 Rating (154 Votes )
There are 3 Steps involved in it
To replace the blue roombox with the lake scene skybox in Program 1612 and disable lighting on the s... View full answer
Get step-by-step solutions from verified subject matter experts
