OpenGL Shader Demo

Опубликовано: 23 Май 2026
на канале: Steven Glenski
255
1

The link to my website is: stevenglenski.com

This is a shader demonstration that I created in Visual Studios using OpenGL. I created a grid of vertices for the water and I then move these vertices inside of the vertex shader to give the grid a water like movement. Inside of the pixel shader I color the grid blue and then color the water a gold color based on the distance from the directional light (the sun) to give the water a golden glow. I also sample from the sky box texture to give the reflection of the sky box onto the water.

If you have any questions feel free to contact me.