GLSL Shader Tutorial 3: Diffuse and Normal Texturing

preview_player
Показать описание
We will cover:
-Setting up shaders for Leadwerks' deferred renderer
-Diffuse texturing
-Normal texturing
Рекомендации по теме
Комментарии
Автор

What an amazing job very indepth tutorials, i hope you do them with the updated version 4.3 leadwerks due to missing some data that you showed, i couldn't find the shader editer

jonathancyr
Автор

Hi Chris. Those are conversions from [0, 1] space to [-1, 1] space. Basically, the normal buffer keeps the vectors in the [0, 1] space but you can't have negative vectors like this. Instead, you want the vector components to be able to range from [-1, 1]. So a vector can be created in any direction.

servingacesproductions
Автор

Thank you for the great tutorials, i haven't watched all of them yet, but guess im excited and jumping the gun lol, how did you put the sky into the game ? Thanks

jonathancyr
Автор

Hello,
Can you explain the *2.0-1.0 and /0.5+0.5 trick ? I got lost there.
Thanks

chrisw
join shbcf.ru