Join the Discord: / discord
Follow me on Twitch: / gameswthgabe
In this episode I go over textures in OpenGL. There are several different ideas related to textures. Some of the concepts I go over include things like mipmapping, anisotropic filtering, texture sample filtering and more. By the end of this episode, you should be able to create a small field of cubes if you've also completed the past few episodes :)
Challenges: https://github.com/codingminecraft/Mi...
My code: https://github.com/codingminecraft/Mi...
NOTE: This is super helpful to print out any OpenGL state errors. It catches a lot of simple bugs.
OpenGL Error Callback: https://www.khronos.org/opengl/wiki/O...
STB Image Library: https://github.com/nothings/stb/blob/...
glTexParameter: https://www.khronos.org/registry/Open...
glTexImage2D: https://www.khronos.org/registry/Open...
GLSL Sampler Types: https://www.khronos.org/opengl/wiki/S...
GLSL texture Functions: https://www.khronos.org/opengl/wiki/S...
--- Bookmarks ---
0:00 Intro
1:13 The Anatomy of a Cube
2:57 UVs (Concept)
6:16 Texture Slots (Concept)
6:59 Texture Use Cases
10:26 Texture Parameters
13:08 Loading an Image with STB (Code)
14:03 Generating a Texture (Code)
14:21 Setting Texture Parameters (Code)
16:14 Uploading Pixels to the GPU (Code)
18:25 Textures in a Shader (Code)
19:46 Texture Slots (Code)
21:48 Debugging
24:35 Challenges
--- Music ---
"Night Snow", by Asher Fulero (from YouTube Studio Audio Library)
"The World's Fair", by Godmode (from YouTube Studio Audio Library)
"Dolphin-esque", by Godmode (from YouTube Studio Audio Library)
"No. 7 Alone With My Thoughts", by Esther Abrami (from YouTube Studio Audio Library)
"Web Weaver's Dance", by Asher Fulero (from YouTube Studio Audio Library)
"Bike Sharing to Paradise", by Dan Bodan (From YouTube Studio Audio Library)
-- Other Credits --
Image of Ed Catmull: https://www.prhspeakers.com/speaker/e...
Ed Catmull's Paper: https://ia801307.us.archive.org/2/ite...
Arrows icons created by Creative Stall Premium - Flaticon: https://www.flaticon.com/free-icons/a...
---------------------------------------------------------------------
Website: https://ambrosiogabe.github.io/
Github: https://github.com/ambrosiogabe
Here are some books I recommend if you want to learn about game engine development more thoroughly. I do not profit off any of these sales, these are just some books that have helped me out :)
My Recommended Game Engine Books:
Game Engine Architecture: https://www.gameenginebook.com/
Game Physics Cookbook (Read this before the next physics book): https://www.amazon.com/Game-Physics-C...
Game Physics (Ian Millington): https://www.amazon.com/Game-Physics-E...
Game Programming Patterns (Free): https://gameprogrammingpatterns.com/
My Recommended Beginning Game Programming Books:
JavaScript Game Design: https://www.apress.com/gp/book/978143...
My Recommended Java Books:
Data Structures/Algorithms: https://www.amazon.com/Data-Structure...
LWJGL (Free, but I haven't read this thoroughly): https://lwjglgamedev.gitbooks.io/3d-g...
Watch video Textures in OpenGL | How to Code Minecraft Ep. 4 online without registration, duration hours minute second in high quality. This video was added by user GamesWithGabe 15 April 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 97,818 once and liked it 3 thousand people.