Reword some stuff

master
Anton Curmanschii 1 yıl önce
ebeveyn
işleme
493faeea19
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      raylib-generic-uber-shader-and-custom-shaders.md

+ 1
- 1
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

Yükleniyor…
İptal
Kaydet