Learn to Codea - Shaders 2 - UVs
Learn to Codea - Shaders 2 - UVs.zip (1.6 KB)
Codea Version
Modern
Description
Following on from the previous shader lesson, this example teaches you how to add UV coordinates to the basic solid color shader, which will be useful for a variety of effects
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