Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб OpenGL Tutorial 14 - Depth Buffer в хорошем качестве

OpenGL Tutorial 14 - Depth Buffer 3 года назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



OpenGL Tutorial 14 - Depth Buffer

In this tutorial I'll show you how the Depth Buffer in OpenGL works and how we can change it to create different simple effects. NOTE: If you are having trouble loading in the models in this tutorial, it might be because the names of the textures are "diffuse" and "specular" instead of "baseColor" and "metallicRoughness" like in the previous tutorial. To fix this simply make the 'getTextures' function accept "baseColor" or "diffuse" and "metallicRoughness" or "specular" like this: if (texPath.find("baseColor") != std::string::npos || texPath.find("diffuse") != std::string::npos) else if (texPath.find("metallicRoughness") != std::string::npos || texPath.find("specular") != std::string::npos) Also note that in the Vertex Shader I removed the negative sign from the rotation matrix! Source Code & Models https://github.com/VictorGordan/openg... OpenGL Documentation https://www.khronos.org/registry/Open... Discord Server   / discord   Patreon   / victorgordan   Timestamps 0:00 Introduction 0:16 Depth Buffer Explanation 0:49 glDepthFunc Options 1:15 Viewing the Depth Buffer 1:37 Depth Value Function 2:08 Linearizing Depth Function 2:19 Viewing Linear Depth 2:43 Z-fighting 3:38 Fog Effect 4:30 Ending References https://learnopengl.com/Advanced-Open... https://sketchfab.com/3d-models/photo... https://cc0textures.com/view?id=Groun... #opengl #opengltutorial #computergraphics #cpp #visualstudio

Comments