From 493faeea19ae297c924cf237e5d372fb6e498c85 Mon Sep 17 00:00:00 2001 From: Anton Curmanschii Date: Mon, 11 Mar 2024 22:08:40 +0200 Subject: [PATCH] Reword some stuff --- raylib-generic-uber-shader-and-custom-shaders.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raylib-generic-uber-shader-and-custom-shaders.md b/raylib-generic-uber-shader-and-custom-shaders.md index 7390264..64a295b 100644 --- a/raylib-generic-uber-shader-and-custom-shaders.md +++ b/raylib-generic-uber-shader-and-custom-shaders.md @@ -78,7 +78,7 @@ uniform sampler2D texture0; // FS: GL_TEXTURE0 uniform sampler2D texture1; // FS: GL_TEXTURE1 uniform sampler2D texture2; // FS: GL_TEXTURE2 ``` -Those are the attributes/uniform names used by the internal [default shader](https://github.com/raysan5/raylib/wiki/raylib-default-shader). It's recommended to use that naming convention also on custom shaders to make sure everything will be automatically setup on `LoadShader()` but some of the default attribute names could re-defined in [config.h](https://github.com/raysan5/raylib/blob/master/src/config.h) in case it was necessary. +Those are the attributes/uniform names used by the internal [default shader](https://github.com/raysan5/raylib/wiki/raylib-default-shader). It's recommended to use that naming convention on custom shaders as well to make sure everything will be automatically set up on `LoadShader()`. However, some of the default attribute names could be re-defined in [config.h](https://github.com/raysan5/raylib/blob/master/src/config.h) in case it was necessary. Shaders are also directly related to the Material struct: ```c