Vertex Compression Tutorial 😍 | OpenGL Memory Optimization
Finding Fortune
Hey all! Vertex compression can reduce memory by ~85-90%, by packing your normal ~40 bytes of vertex data into a single 4 bytes using the bit shift operator. Hopefully this video is not too much of a slog, but I wanted to make sure I dive deep into the example to be clear on how it all worked! Here are some extra resources to help you out:
Explanation on the Bit Shift operator:
Source Code used here:
This video explains the concept of Vertex Compression, although really doesn't explain the code at all:
0:00 Intro 0:10 What Most OpenGL Tutorials Do 1:06 In-Depth Compression Example 7:00 Vertex Compression in my Game Engine (C++ Side) 8:19 GLSL Shader code side of Vertex Compression 8:45 Considerations for Vertex Compression 10:31 Closing
Gaming / Montage Channel: @Seeking_Serendipity
#opengl #optimization #memory ... https://www.youtube.com/watch?v=d10MOYtNXB4
54742666 Bytes