Difference between revisions of "Hardware 3D (C++ DirectX Graphics) Tutorial 35"
From Chilipedia
(→Video Timestamp Index) |
|||
Line 1: | Line 1: | ||
− | + | This tutorial is really an assortment a various topics. The main one here is the shader accuracy issue of renormalizing normal vectors, particularly after interpolation. Also, organization of shader code with the HLSL preprocessor is featured prominently. And don't miss the part where we flex our Graphics Debugger muscles again. | |
== Topics Covered == | == Topics Covered == | ||
− | * | + | * Renormalization |
− | * | + | * HLSL #include directive to organize shader code |
− | * | + | * Texture processing command line utility |
− | * | + | * Using Graphics Debugger to verify bound resources |
− | * | + | * Extracting Euler (rotation) angles / translation from a 4x4 matrix |
− | * | + | * Fixes |
+ | ** Hardcoding of texture path | ||
+ | ** angle_wrap math function | ||
== Video Timestamp Index == | == Video Timestamp Index == | ||
− | * [https://youtu.be/ | + | * [https://youtu.be/sz1W5gDkKC0 Tutorial 36] |
== Source Code == | == Source Code == | ||
Line 16: | Line 18: | ||
== See also == | == See also == | ||
− | * [[Hardware 3D (C++ DirectX Graphics) Tutorial | + | * [[Hardware 3D (C++ DirectX Graphics) Tutorial 37|Next in series (Tutorial 37)]] |
* [[Hardware 3D Series (C++ DirectX Graphics)]] | * [[Hardware 3D Series (C++ DirectX Graphics)]] | ||
* [https://www.patreon.com/planetchili Planet Chili Patreon] | * [https://www.patreon.com/planetchili Planet Chili Patreon] |
Revision as of 23:17, 29 September 2019
This tutorial is really an assortment a various topics. The main one here is the shader accuracy issue of renormalizing normal vectors, particularly after interpolation. Also, organization of shader code with the HLSL preprocessor is featured prominently. And don't miss the part where we flex our Graphics Debugger muscles again.
Topics Covered
- Renormalization
- HLSL #include directive to organize shader code
- Texture processing command line utility
- Using Graphics Debugger to verify bound resources
- Extracting Euler (rotation) angles / translation from a 4x4 matrix
- Fixes
- Hardcoding of texture path
- angle_wrap math function