Coder Social home page Coder Social logo

learning-shaders's Introduction

Learning GLSL

This is an overview of my learning experience so far with learning about fragment shaders from complete 0...

Gallery of shaders made so far: https://merryvj.github.io/learning-shaders/

Phase 0: What is a shader?

At this point I didn’t know how GPUs worked and what shaders could even be used for. I just dimly knew they could be incorporated in some sort of audiovisual performance setup. Visual explanations like these were helpful:

Phase 1: How to think in shader logic?

Now that I know what shaders can do, how do I just draw something just like that? This is when tutorials that go over how techniques work together were useful:

  • A basic overview by Inigo Quilez (legend) - this is where it all started to click for me
  • “Shadertoy” live coding walkthroughs by the Art of Code youtube channel

Phase 2: Which shader techniques to use?

This is when resources like BookOfShaders started being useful. It’s like learning how the different tools in Photoshop work, and building a repertoire! I now had a "stickersheet" of functions I knew how to use and showcased my first 20 shaders here.

Phase 3: 3D time? Also pipelines...?

This is where I'm currently at, and feel like I've hit a wall scavenging for resources on scattered blogs (mainly Inigo Quilez). I've also begun incorporating shaders into other projects and testing the workflows (e.g. quite straightfoward for p5.js)

learning-shaders's People

Contributors

merryvj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.