Загрузка страницы

Textures in OpenGL | How to Code Minecraft Ep. 4

Join the Discord: https://discord.gg/4tHeAkxNg7
Follow me on Twitch: https://www.twitch.tv/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/MinecraftCloneForYoutube/tree/master/Challenges#episode-4-textures

My code: https://github.com/codingminecraft/MinecraftCloneForYoutube/tree/36fb0bb81bfa22014e6586f73aaad3c3e9612d0a

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/OpenGL_Error#Catching_errors_.28the_easy_way.29

STB Image Library: https://github.com/nothings/stb/blob/master/stb_image.h
glTexParameter: https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glTexParameter.xhtml
glTexImage2D: https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glTexImage2D.xhtml
GLSL Sampler Types: https://www.khronos.org/opengl/wiki/Sampler_(GLSL)#Sampler_types
GLSL texture Functions: https://www.khronos.org/opengl/wiki/Sampler_(GLSL)#Texture_lookup_functions

---- 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/ed-catmull
Ed Catmull's Paper: https://ia801307.us.archive.org/2/items/DTIC_ADA004968/DTIC_ADA004968.pdf
Arrows icons created by Creative Stall Premium - Flaticon: https://www.flaticon.com/free-icons/arrows

---------------------------------------------------------------------
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-Cookbook-Gabor-Szauer/dp/1787123669
Game Physics (Ian Millington): https://www.amazon.com/Game-Physics-Engine-Development-Commercial-Grade/dp/0123819768
Game Programming Patterns (Free): https://gameprogrammingpatterns.com/

My Recommended Beginning Game Programming Books:
JavaScript Game Design: https://www.apress.com/gp/book/9781430247166

My Recommended Java Books:
Data Structures/Algorithms: https://www.amazon.com/Data-Structures-Algorithms-Java-6th-ebook/dp/B00JDRQF8C
LWJGL (Free, but I haven't read this thoroughly): https://lwjglgamedev.gitbooks.io/3d-game-development-with-lwjgl/content/

Видео Textures in OpenGL | How to Code Minecraft Ep. 4 канала GamesWithGabe
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
15 апреля 2022 г. 18:00:33
00:25:38
Яндекс.Метрика