godot/drivers/gles2
Omar El Sheikh 8a43b222c7 Fix Vertex Attribute Specification Octahedral
For octahedral compressed normals/tangents, we use vec4 in the shader
regardless of whether a normal/tangent does/doesn't exist

For the case where we only have a normal vector, we need to specify that
there are only two components being used when calling glVertexAttrib

Before we would always specify that there were 4 components, and used
offsets to determine where in the vertex buffer to read data from but
this doesn't work on all platforms
2021-11-08 12:11:48 -05:00
..
shaders clang-format: Disable alignment of operands, too unreliable 2021-10-28 13:23:38 +02:00
rasterizer_canvas_base_gles2.cpp clang-format: Enable BreakBeforeTernaryOperators 2021-10-28 14:50:33 +02:00
rasterizer_canvas_base_gles2.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
rasterizer_canvas_gles2.cpp Add DEV_ASSERT and DEV_CHECK macros 2021-10-04 14:57:54 +01:00
rasterizer_canvas_gles2.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
rasterizer_gles2.cpp Fix -Wextra warnings from GCC 11 2021-09-29 15:23:12 +02:00
rasterizer_gles2.h Clear glErrors instead of crashing when initializing GLES3 2021-06-21 17:53:24 +01:00
rasterizer_scene_gles2.cpp Fix CSGPolygon Buffer Overflow 2021-10-18 11:39:54 -04:00
rasterizer_scene_gles2.h Add high quality glow mode 2021-08-11 17:00:41 +02:00
rasterizer_storage_gles2.cpp Fix Vertex Attribute Specification Octahedral 2021-11-08 12:11:48 -05:00
rasterizer_storage_gles2.h Backport new 3D point light attenuation as an option 2021-10-08 22:15:22 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
shader_compiler_gles2.cpp [3.x] Fix shader crash when using local var with the same name as varying 2021-08-13 09:30:35 +03:00
shader_compiler_gles2.h Backport dd0874e "Allow passing varying from fragment to light shader function" to 3.4 2021-05-14 11:28:48 -07:00
shader_gles2.cpp Octahedral Normal/Tangent Compression 2021-07-30 10:29:09 -04:00
shader_gles2.h Fix -Wextra warnings from GCC 11 2021-09-29 15:23:12 +02:00