Learn to Codea - Shaders 1 - Solid Color

Learn to Codea - Shaders 1 - Solid Color

Learn to Codea - Shaders 1 - Solid Color.zip (1.9 KB)

Codea Version

Modern

Description

Shaders are small specialised programs that run on the GPU using a specialised language. This example teaches you how to make the simplest shader of all from scratch, a solid color!

From here we will branch out into more advanced topics. Stay tuned!

Next Lesson - UVs

API

shader(vertexSource, fragmentSource)
background(shader)

Manual

https://twolivesleft.github.io/Codea4-Docs/manual/shaders.html

Learn to Codea?
This is be part of an ongoing series called “Learn to Codea”, which will cover a variety of topics from beginner to advanced and everything in-between

3 Likes