Small raytracing shader performance changes
This commit is contained in:
parent
f44afda9ab
commit
343a25cbed
3 changed files with 10 additions and 4 deletions
|
|
@ -52,7 +52,7 @@ public:
|
|||
glm::vec3 lightPos;
|
||||
// Aspect ratio of the viewport
|
||||
float aspectRatio;
|
||||
glm::vec4 fogColor = glm::vec4(0.025f, 0.025f, 0.025f, 0.0f);
|
||||
glm::vec4 fogColor = glm::vec4(0.0f);
|
||||
struct {
|
||||
glm::vec3 pos = glm::vec3(0.0f, 1.5f, 4.0f);
|
||||
glm::vec3 lookat = glm::vec3(0.0f, 0.5f, 0.0f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue