OpenGL Fragment Shaders | GLSL and Our Environment

preview_player
Показать описание
Where do we write our code? What does the code look like?
I go through the basics of our GLSL editor in this video.

This series is based off of the free on-line book, "The Book Of Shaders", by Patricio Gonzalez Vivo and Jen Lowe.

If you feel like donating, please donate to those two; a donation link is found on their website linked above.

If you find value in what I do, think about supporting my channel:
Bitcoin: 3H4NKKwPdbiE5Gtc3Uk2DiwszqHhrRbmKK
Ethereum: 0x48702412F448a27be03836fb6FE6456603668030
Litecoin: MNJ4uv3GD4r62VpQ8rHX1Pj1ihWCj74hCK

Find me here:

Code Used:
#ifdef GL_ES
precision mediump float;
#endif

void main() {
gl_FragColor = vec4(0.0,0.0,0.0,0.0);
}
Рекомендации по теме
Комментарии
Автор

when i searched "opengl fragment shader" on youtube, the next video in this series was the top result. I went back one video to this one for more context.

lnx
Автор

Hello, I found your video after searching for 'shadertoy tutorial' then clicking on a video titled OpenGl Shaders and your video was in the recommendations buried around 12 deep.

theobgshow
Автор

These are simply amazing tutorials. With respect to everybody else, many video are claiming to teach what shaders are, however, they almost all end up showing how to code, omitting the finer details.

You have explained what the shaders are in relation to the gpu The visualization of the plane and explanation of a pixel asking what colour am I? Made me understand shaders for the first time.

Thank you very much

theobgshow
Автор

Found this series by searching "fragment shaders" on youtube. Thanks for the videos, they are very clean and informative!

willkosan
Автор

found the video as a youtube recommendation while searching for shaders. thanks ..

avirads
Автор

Found this by searching glsl fragment tutorial.

animaitor
Автор

RGB(1, 0, 1) is called magenta, not "pink." It's the opposite of green color. CMYK(0, 1, 0, 0) is not green but magenta. RGB and CMYK are opposite systems, RGB for color addition and CMYK for color subtracting (printing).

schizoidman