Search The Query
Search
  • Home
  • Shaders
  • The best youtube channels to learn shader programming
digital animation of colorful tape rolls

The best youtube channels to learn shader programming

The best youtube channels to learn shader programming. Shader programming is an exciting field that allows you to create stunning visual effects in video games, animations, and other digital media. While learning shader programming can seem daunting at first, there are many resources available to help you get started. One of the best ways to learn shader programming is by watching videos on YouTube. There are numerous channels dedicated to shader programming that provide high-quality tutorials and insights into this fascinating area of computer graphics. In this article, we’ll take a look at some of the best YouTube channels for learning shader programming, so you can start creating your own amazing visual effects today!

Contents The best youtube channels to learn shader programming

What is a shader?

The simple answer is that a shader is GPU Program, that run on GPU hardware ( GPU + Memory)

When we talk about shaders, we are in reality talking about different types of functions and they are 3 different types of shaders:

  • Vertex/Geometry Shaders which perform operations the vertex and geometry data of a 3D model.
  • Pixel/Fragment Shaders which run on pixels and fragments (fragment is a chunk of pixels on the screen), these do everything that’s not the geometry data, typically the output of the Geometry/Vertex shader is fed into these shaders.
  • Compute Shaders, they can be used to do pretty much any kind of parallel calculation that’s not a graphics function, mining crypto currency on a GPU is a compute shader.
It can be of Interest ;   Retro Effect Tutorial with Unity Shader Graph

How are shaders developed?

Shaders are written in a special shading languages that have different focus and can be used for different purpose. Some languages are:

  • For Offline rendering
    • RenderMan Shading Language
    • Houdini VEX Shading Language
    • Gelato Shading Language
    • Open Shading Language
  • For Real-time rendering
  • ARB assembly language
  • OpenGL shading language
  • Cg programming language
    • DirectX Shader Assembly Language
    • DirectX High-Level Shader Language
    • Adobe Pixel Bender and Adobe Graphics Assembly Language
    • PlayStation Shader Language
    • Metal Shading Language

More info on this https://en.wikipedia.org/wiki/Shading_language

A part from using languages at low level, in the last years some visual building tools have been making their way into the market and that allows to develop and deploy shaders without actually coding a single line of code.:

The best youtube channels to learn shader programming - Shader forge
The best youtube channels to learn shader programming – Shader Forge

How do shader works?

A shader’s unique purpose is to return four different numbers: rgb,and a., which in case you are not recognizing them (shame on you) are the four channels used to code for colours in computers.

So Shaders, are basically doing a lot of calculations just to output on a per pixel goal a single color to be painted on a pixel in the screen.

The function within a shader will run for every single pixel on screen, and returns those four color values, and that that will color the pixel. This is what is usually called a Pixel Shader, also referred to as a Fragment Shader

void PaintPixel( out vec4 fragColor, in vec2 fragCoord )
{
    fragColor = vec4(1.0,0.0,0.0,1.0);
}

The complexity of programming the shader is on how to define the color that each pixel should have based on where it is in the game world, what time of lighting is affecting it, etc….

It can be of Interest ;   Retro Effect Tutorial with Unity Shader Graph

For that to happen, it is needed then to take in account the world and the shape or surface that gives origin to that pixel in the screen, and we need then to start looking at the render pipeline.

Render pipeline or rasterization

The Rendering Pipeline is the sequence of steps that shaders takes when rendering objects.

For example OpenGL works with the following render pipeline

Once initiated, the pipeline operates in the following order:

  1. Vertex Processing:
    1. Each vertex retrieved from the vertex arrays (as defined by the VAO) is acted upon by a Vertex Shader. Each vertex in the stream is processed in turn into an output vertex.
    2. Optional primitive tessellation stages.
    3. Optional Geometry Shader primitive processing. The output is a sequence of primitives.
  2. Vertex Post-Processing, the outputs of the last stage are adjusted or shipped to different locations.
    1. Transform Feedback happens here.
    2. Primitive Assembly
    3. Primitive Clipping, the perspective divide, and the viewport transform to window space.
  3. Scan conversion and primitive parameter interpolation, which generates a number of Fragments.
  4. Fragment Shader processes each fragment. Each fragment generates a number of outputs.
  5. Per-Sample_Processing, including but not limited to:
    1. Scissor Test
    2. Stencil Test
    3. Depth Test
    4. Blending
    5. Logical Operation
    6. Write Mask
The best youtube channels to learn shader programming – Render Pipeline
The best youtube channels to learn shader programming – Render Pipeline

Youtube channels to learn shader programming

Although, as we have seen, there are plenty of courses on the shader programming topic, there is also some great free resources that can help you achieve the same results easily and without spending some dollars on the process.

Below we will be listing some of the best youtube channels that have helped us in our process of learning how to code shaders.

It can be of Interest ;   Retro Effect Tutorial with Unity Shader Graph

Freya Holmer Channel

Shader Basics, Blending & Textures • Shaders for Game Devs [Part 1]

Healthbars, SDFs & Lighting • Shaders for Game Devs [Part 2]

Normal Maps, Tangent Space & IBL • Shaders for Game Devs [Part 3]

Lewis Lepton

Sebastian Lague

Tantan

The Chermo

Want to know more ? Then check our main page for more interesting articles.

9 Comments
  • skapa binance-konto says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
  • Compte Binance gratuit says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me? https://www.binance.com/fr/register?ref=53551167
  • gate borsası says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    I am an investor of gate io, I have consulted a lot of information, I hope to upgrade my investment strategy with a new model. Your article creation ideas have given me a lot of inspiration, but I still have some doubts. I wonder if you can help me? Thanks.
  • gateio says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    I have read your article carefully and I agree with you very much. This has provided a great help for my thesis writing, and I will seriously improve it. However, I don’t know much about a certain place. Can you help me? https://www.gate.io/es/signup/XwNAU
  • binance koda says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    Thanks for sharing. I read many of your blog posts, cool, your blog is very good. https://accounts.binance.com/sl/register-person?ref=W0BCQMF1
  • Lorettahah says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    I’ve been deep down impressed with CBD gummies and like [url=https://www.cornbreadhemp.com/products/cbd-sleep-gummies ]cbd gummies to help sleep[/url]. They’re not at worst appetizing but also incredibly convenient in compensation getting a daily dosage of CBD. I intended how tactful they are, making them accurate instead of when I’m on the go. I’ve from where one stands noticed they assistants me rest and sleep mastery, especially after a stressful day. The steadfast dosage in each gummy also takes the guesswork out of pocket of managing how much CBD I’m consuming. If you’re pensive of distressing CBD, gummies are a monstrous way out—ethical be foolproof to buy from a trusted label looking for the best results!
  • binance says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    Your point of view caught my eye and was very interesting. Thanks. I have a question for you. https://www.binance.com/en-IN/register?ref=UM6SMJM3
  • Geraldetece says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    Exploring https://rvfhemp.com/collections/flower and pre roll weed has been an enlightening passing as me. The quality and odour of these products are stirring, gift a calming and enjoyable experience. Whether I’m unwinding after a long light of day or seeking originative inspiration, hemp pre-rolls produce a common choice that I can trust. The convenience of pre-rolls combined with the benefits of hemp flowers occasion them a go-to choice for the purpose relaxation and mindfulness. I know the publicity to charge and spotlessness of the products, enhancing my comprehensive satisfaction. Greatly recommend trying hemp flowers and pre-rolls to a holistic and fulfilling experience!
  • código de Binance says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
  • Leave a Reply

    Your email address will not be published. Required fields are marked *