From 05f8435a7933f5e7879325c1ad0597ed3fc310af Mon Sep 17 00:00:00 2001 From: mole99 Date: Sat, 13 Apr 2024 17:33:58 +0200 Subject: [PATCH] Update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0ddc69a..ca5c64d 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Tiny Shader mimics such a shading unit and executes a shader with 10 instruction These images and many more can be generated with Tiny Shader. Note, that shaders can even be animated by acessing the user or time register. -||| +||||| |-|-|-|-| |![test2.png](images/test2.png)|![test4.png](images/test4.png)|![test5.png](images/test5.png)|![test7.png](images/test7.png) |
GETX R0
SINE R1
SETR R1
GETY R0
SINE R1
SETG R1
|
GETX R0
GETY R1
XOR R0 R1
SETRGB R0
|
GETY R1
LDI 1
AND R1 R0
IFNE R1
LDI 63
IFEQ R1
LDI 0
SETRGB R0
|
CLEAR R3
GETX R0
GETUSER R1
ADD R0 R1
SETRGB R0
SINE R0
HALF R0
GETY R1
IFGE R1
SETRGB R3
|