Skip to content

A while ago I saw a question from a beginner in the world of CG about what would be the interpolation in shaders.

I think this topic can be interesting for those who are getting familiar with the topic.

Here I will talk about the basic concept behind the interpolation that is performed inside shaders.

...continue reading "Shaders and the Linear Interpolation"

Very recently I was discussing with Eduardo and he introduced me to the http://shader-playground.timjones.io/ website.

Here you can write your shader code (vertex, fragment, etc...) and you can choose the compiler, language and the shader stage you are writing.

The best analyser is the Radeon GPU Analyser, because it compiles the code, and you can see the shader instructions it generates, the amount of registers it uses, etc…

This is our starting point.

...continue reading "GLSL Shader Tricks: Optimizations on Matrix, Points and Vectors"