Commit graph

10 commits

Author SHA1 Message Date
Jupeyy cc54c4acdf also out the LOD to the fragment shader to make sure we use the same LOD
on every hardware
2017-10-14 23:27:14 +02:00
Jupeyy 5c25a7415d no need for subtracting here anymore 2017-10-09 19:44:22 +02:00
Jupeyy 26bd800d63 calculate the LOD on CPU side and restrict mipmap levels for huge
textures to remove bad looking mipmap generations at high zoom levels
2017-10-09 18:58:44 +02:00
Jupeyy a85f542d1d only use 4x2 matrix 2017-09-27 12:15:30 +02:00
Jupeyy a530764ec1 only upload vec2 for vertex 2017-09-14 02:48:39 +02:00
Jupeyy 948d768c9c out the frag color 2017-09-13 18:49:43 +02:00
Jupeyy cf7878f46a update shaders to not use any decrecated GLSL function/variable 2017-09-13 01:36:17 +02:00
Jupeyy 8d982df9f2 add various shaders for various GPU tasks 2017-09-12 20:05:05 +02:00
Jupeyy 2bc27e5f9d remove quad shaders renamed to prim(primitive) 2017-09-12 20:04:34 +02:00
Jupeyy 1053bc735d initial port to opengl3.3 (without any optimazations) 2017-09-02 15:24:07 +02:00