Browse Source

fix the debug shader normal transforms

main
cinnaboot 5 years ago
parent
commit
49140669f1
  1. BIN
      data/debug.frag
  2. BIN
      data/debug.vert
  3. 2
      src/shader.h

BIN
data/debug.frag (Stored with Git LFS)

Binary file not shown.

BIN
data/debug.vert (Stored with Git LFS)

Binary file not shown.

2
src/shader.h

@ -149,7 +149,7 @@ struct transforms
const float DEFAULT_FOV = 60.f; const float DEFAULT_FOV = 60.f;
const float NEAR_CLIP_PLANE = 5.f; const float NEAR_CLIP_PLANE = 5.f;
const float DEFAULT_ASPECT_RATIO = 16.f / 9.f; const float DEFAULT_ASPECT_RATIO = 16.f / 9.f;
const glm::vec3 DEFAULT_CAM_POS = { 0, 0, -30.f }; const glm::vec3 DEFAULT_CAM_POS = { 0, 0, 30.f };
const glm::vec3 DEFAULT_LOOK_POS = { 0, 0, 0 }; const glm::vec3 DEFAULT_LOOK_POS = { 0, 0, 0 };

Loading…
Cancel
Save