# GLSL/HLSL Shading programming

## HLSL

{% embed url="<https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-pguide>" %}

{% embed url="<https://shadered.org/index.php>" %}

## [HLSL Tutorials](https://www.youtube.com/watch?v=MKio4MNM3CI\&list=PL78XDi0TS4lEMvytsE_MoWEpzBcukXv9b) <a href="#title" id="title"></a>

40 video tutorials that teach 3d artists how to write real-time shaders in HLSL. This series starts with the basics of shader programming so that artists with no experience can learn the fundamentals. It then covers more advanced topics such as lighting models, global illumination, reflections, fresnel, offset mapping, vertex animation, etc.

{% embed url="<https://www.shadertoy.com/>" %}

{% embed url="<https://developer.nvidia.com/fx-composer>" %}

## GLSL

{% embed url="<https://www.opengl-tutorial.org/beginners-tutorials/tutorial-8-basic-shading/>" %}

{% embed url="<https://learnopengl.com/Getting-started/Shaders>" %}

{% embed url="<https://gamedevelopment.tutsplus.com/tutorials/a-beginners-guide-to-coding-graphics-shaders--cms-23313>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://stephanosterburg.gitbook.io/scrapbook/coding/glsl-hlsl-shading-programming.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
