Browse Source

Shaders: um what was this comment about, even?

Probably some leftover from when I tried a bitmask-based approach
(which failed to deliver as it was too slow to iterate through in the
shader)? Uhh.
pull/617/head
Vladimír Vondruš 3 years ago
parent
commit
1a33796784
  1. 2
      src/Magnum/Shaders/Test/PhongGLTest.cpp

2
src/Magnum/Shaders/Test/PhongGLTest.cpp

@ -3755,8 +3755,6 @@ void PhongGLTest::renderLightCulling() {
.setDiffuseColor(0xccffcc_rgbf)
.setSpecularColor(0x6666ff_rgbf)
}};
/* Put one light into the first 32-bit component, one into the second to
test that both halves are checked correctly */
PhongLightUniform lights[64];
lights[57] = PhongLightUniform{}
.setPosition({-3.0f, -3.0f, 2.0f, 0.0f})

Loading…
Cancel
Save