Reword some stuff

master
Anton Curmanschii 1 년 전
부모
커밋
493faeea19
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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

불러오는 중...
취소
저장