stackgl / shader-school

:mortar_board: A workshopper for GLSL shaders and graphics programming
Other
4.28k stars 252 forks source link

13-geom-2 and 16-geom-5 passes for wrong answers #125

Open utensil opened 9 years ago

utensil commented 9 years ago

13-geom-2 and 16-geom-5 passes for wrong answers.

I've verified others before 16-geom-5, they will fail for wrong answers.

I'm on Mac Book Pro , Mac OS X 10.10.1, node 0.10.33, npm 2.1.8, shade-school 1.1.0 .

kgilvi3 commented 8 years ago

12-geom-1 will also pass with the wrong answer (as seen below):

  vec4 transformed = transformPoint(model*view*projection, position4);

The incorrect order of operations will give you a very zoomed in view (only a few lines visible), while if you flip the multiplication of matrices to the correct order, the zoomed out geodesic ball will appear. Both will "pass".