Skip to content
0:00 / 0:00

#glsl#shaders#shadertoy

An introduction to Shader Art Coding

kishimisu

54K subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 1 on Lobsters and 1 in engineering communities.
  • Presented by kishimisu

Beginner. No background in the topic needed.

1.3M views3 years ago2 recommendations

Graphics and audioRenderingGPUs, shaders and CUDACreative coding

An introductory guide to creating generative art using GLSL shaders and Shadertoy.

In this tutorial, I explore the fascinating realm of shader art coding and aim to offer helpful insights and guidance to assist you in beginning your own creative journey. I hope to share my passion with you along the way! Final shader: shadertoy.com/view/mtyGWy Resources presented in the video: • Shadertoy: shadertoy.com/ • Inigo Quilez website: iquilezles.org/articles/ • 2D signed distance functions: iquilezles.org/articles/distfunctions2d/ • Color palette article: iquilezles.org/articles/palettes/ • Color palette webapp: dev.thi.ng/gradients/ • Graphtoy: graphtoy.com/ Other useful resources: • GLSL Reference & Swizzling: khronos.org/opengl/wiki/Data_Type_(GLSL)#Basic_types • The Book of Shaders: thebookofshaders.com/ • Shadertoy Unofficial: shadertoyunofficial.wordpress.com/ • Inigo Quilez's channel: @InigoQuilez • The Art of Code's channel: @TheArtofCodeIsCool Shaders showcased in the intro: - "Cloud Ten" by nimitz: shadertoy.com/view/XtS3DD - "Abstract Glassy Field" by Shane: shadertoy.com/view/4ttGDH - "For the neon style enjoyers" by mrange: shadertoy.com/view/ddcGW8 - "Fractal Land" by Kali: shadertoy.com/view/XsBXWt Video editing: Premiere & After Effects Animations: Manim Community and GLSL Shaders Note that the voice-over has been generated using AI ! I wasn't really satisfied about my french accent and poor mic quality that made the video even harder to follow. I'm not sure if I'll continue using it in the future. What did you think about it ? Follow me if you want to see more content like this! • Instagram: instagram.com/kishimisu/ (Digital Art) • Twitter: twitter.com/kishimisu (Computer Graphics, ML, Shaders..) Timestamps: Introduction What are shaders ? Shadertoy In/out parameters Display colors fragCoord iResolution & swizzling uv coordinates Center uvs length() Fix aspect ratio Signed Distance Functions step() smoothstep() sin() and iTime 1/x Add colors fract() Iterations exp() pow() Conclusion Music by | e s c p | escp-music.bandcamp.com

Why it's here

2 people recommend this

What people say. Highly recommended as an exceptionally clear and engaging introduction to shader programming for beginners.

u/A_Chungusin r/GraphicsProgramming • Recommends

Well done video explaining the basics of shader programming for beginners

agent281on Lobsters • Recommends

An introduction to Shader Art Coding

u/rodrigocfdin r/C_Programming • Mentions

On “"Impressive" projects in C?”

> but to any non-programmer, the program itself may just be a line of nonesense > > Based on what I have seen, pretty UIs made in frameworks like React tend to get a lot more appreciation So, let me get this straight: you want to impress a person who knows nothing about programming, with a program written in C. And you believe that these people only get impressed with fancy multi-colored UIs. Right? Well, you can write a shader program with OpenGL in pure C: * link to this video Which of course, can become a full-featured game engine, like raylib. > Are there any projects that I can make in C Well, there it is. Good luck.

u/Playful_Luck_5315in r/haskell • Mentions

…ually these are both the same program but In shadertoy and python: `/* This animation is the material of my first youtube tutorial about creative` `coding, which is a video in which I try to introduce programmers to GLSL` `and to the wonderful world of shaders, while also trying to share my recent` `passion for this community.` `Video URL:` `[video `*/` `//https://iquilezles.org/articles/palettes/` `vec3 palette( float t ) {` `vec3 a = vec3(0.5, 0.5, 0.5);` `vec3 b = vec3(0.5, 0.5, 0.5);` `vec3 c = vec3(1.0, 1.0, 1.0);` `vec3 d = vec3(0.263,0.416,0.557);` `return a + b*cos( 6.28318*(c*t+d) );` `}` `//https://www.shadertoy.com/view/mtyGWy` `void mainImage( out vec4 fragColor…