close

Hey Creators, we had a code issue that prevented uploads. We just took care of that and uploads should be working fine now. Let us know if any issues persists. Sorry for the inconvenience.

Up next


OpenGL Fragment Shaders - Drawing A Checkerboard Using GLSL step

9 Views
an_object_is_a
an_object_is_a
subs count
38
Published on 23 Jul 2020 / In How-to & Style

⁣Drawing Squares with the GLSL step() Function: ⁣https://www.mgtow.tv/watch/dra....wing-a-square-quick-
What is the GLSL step() Function: ⁣https://www.mgtow.tv/watch/ope....ngl-fragment-pixel-s

There are many ways to create a checkerboard pattern on screen using OpenGL.
You could use vertex shaders and/or fragment shaders.
Distance fields, splitting your dimension into fractions...

I'll use two 'for loops', glsl step(), and a bit of math to show you how.


⁣Get the Brave Browser! : https://brave.com/ano648 ❤ (referral link)

Subscribe to my mgtow.tv: https://www.mgtow.tv/@an_object_is_a
Subscribe to my Youtube: https://www.youtube.com/channe....l/UCar-9GMCRk9QdKJXq
Subscribe to my lbry: lbry://@an_object_is_a#7

If you find value in what I do, think about supporting my channel:
Paypal: https://www.paypal.me/anobjisa
Bitcoin: 3H4NKKwPdbiE5Gtc3Uk2DiwszqHhrRbmKK
Ethereum: 0x48702412F448a27be03836fb6FE6456603668030
Litecoin: MNJ4uv3GD4r62VpQ8rHX1Pj1ihWCj74hCK
Cardano (ADA): Ae2tdPwUPEZHifkCDEM8BVLoKULwNkLuj7NC9dVbtdQhCVuFVxsAKUpJsZF

Find me here:
Bitchute: https://www.bitchute.com/channel/gPUmRsVcChxX/
Twitter: https://twitter.com/anobjectisa1
Minds: https://www.minds.com/an_object_is_a/
Instagram: https://www.instagram.com/an_object_is_a

Show more
0 Comments sort Sort By


Up next