Commit Graph

31 Commits

Author SHA1 Message Date
gbrochar a63d807856 refacto : updateObj remove double 2020-11-26 10:26:44 +01:00
gbrochar 3ab1c7b1ca refacto : split vertex attrib configuration 2020-11-26 09:35:37 +01:00
gbrochar 94251a4806 refacto : split matrices initialization 2020-11-26 09:11:02 +01:00
gbrochar ac2d5bcecb move shaders to files 2020-11-25 21:07:21 +01:00
gbrochar 77c8dedb0c added multiple instances support, changed light position 2020-11-25 18:58:49 +01:00
gbrochar 0026741e17 fix normal bug 2020-11-25 14:00:51 +01:00
gbrochar e4fc439d01 added fine/coarse distance slider 2020-11-25 13:51:39 +01:00
gbrochar ca293366fb added base rotation + git links 2020-11-25 13:45:25 +01:00
gbrochar e568664fa7 change sobel to show lighted grey instead of black when no borders, update mobile instructions, add scrollbar 2020-11-25 13:15:26 +01:00
gbrochar 431877ea09 added objects, textures, and sobel edge detection shader 2020-11-25 12:43:13 +01:00
gbrochar 7f2b135bdd put sliders and average object position 2020-11-24 22:12:32 +01:00
gbrochar 68de8a2af3 fix webgl warning and remove consolelog 2020-11-24 19:44:32 +01:00
gbrochar ce7914732e texture support 2020-11-24 19:18:45 +01:00
gbrochar 8c1baf3a86 remove useless color buffer and prepare texture buffer implementation 2020-11-24 17:28:40 +01:00
gbrochar 6a1b25777d fix bug where pressing enter updated shader instead of camera distance 2020-11-24 17:04:33 +01:00
gbrochar 4fb99acd00 added flat mode, one object, and clear some code 2020-11-24 16:30:59 +01:00
gbrochar 89cb1d7962 remove small teapot without normals 2020-11-24 15:05:35 +01:00
gbrochar f85681a44e revert to webgl1 to have more safari compatibility 2020-11-24 14:10:16 +01:00
gbrochar b19aba1b08 switch to webgl2 2020-11-24 14:08:53 +01:00
gbrochar fec20645ce obj selector, a bit of code clearing 2020-11-24 13:53:30 +01:00
gbrochar 31ec733bda fixed WebGL warning, add distance support 2020-11-24 13:10:47 +01:00
gbrochar 55cb25f291 split code and add ui for changing fragment shader 2020-11-24 12:10:57 +01:00
gbrochar ed902a2ed2 fix texture diffuse 2020-11-23 21:16:36 +01:00
gbrochar 8dae1792e5 precision android 2020-11-23 20:50:43 +01:00
gbrochar 0eee41e5ce phong 2020-11-23 20:40:51 +01:00
gbrochar 66430eba5e shaded teapot 2020-11-23 17:07:53 +01:00
gbrochar 17d69ba547 teapot ! 2020-11-23 13:47:44 +01:00
gbrochar 341dbe1023 many cube rotating around a point 2020-11-23 06:38:10 +01:00
gbrochar 7edddc0e57 rotating cube 2020-11-22 20:56:56 +01:00
gbrochar 2e90822b5b Colored square rotating 2020-11-22 15:16:08 +01:00
gbrochar 9703298f40 Colored square 2020-11-22 15:09:28 +01:00