Commit Graph

21 Commits

Author SHA1 Message Date
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