Browse Source

Rename BRDG typo to BDRF (#2028)

pull/2029/head
Chris 3 years ago
committed by GitHub
parent
commit
9882796df0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions
  1. +1
    -1
      examples/models/models_material_pbr.c
  2. +1
    -1
      parser/raylib_api.json
  3. +1
    -1
      parser/raylib_api.txt
  4. +1
    -1
      parser/raylib_api.xml
  5. +1
    -1
      src/raylib.h

+ 1
- 1
examples/models/models_material_pbr.c View File

@ -229,7 +229,7 @@ static Material LoadMaterialPBR(Color albedo, float metalness, float roughness)
Shader shdrBRDF = LoadShader(TextFormat("resources/shaders/glsl%i/brdf.vs", GLSL_VERSION),
TextFormat("resources/shaders/glsl%i/brdf.fs", GLSL_VERSION));
mat.maps[MATERIAL_MAP_BRDG].texture = GenTextureBRDF(shdrBRDF, BRDF_SIZE);
mat.maps[MATERIAL_MAP_BRDF].texture = GenTextureBRDF(shdrBRDF, BRDF_SIZE);
UnloadShader(shdrBRDF);
//--------------------------------------------------------------------------------------------------------

+ 1
- 1
parser/raylib_api.json View File

@ -1870,7 +1870,7 @@
"description": ""
},
{
"name": "MATERIAL_MAP_BRDG",
"name": "MATERIAL_MAP_BRDF",
"value": 10,
"description": ""
}

+ 1
- 1
parser/raylib_api.txt View File

@ -448,7 +448,7 @@ Enum 08: MaterialMapIndex (11 values)
Value[MATERIAL_MAP_CUBEMAP]: 7
Value[MATERIAL_MAP_IRRADIANCE]: 8
Value[MATERIAL_MAP_PREFILTER]: 9
Value[MATERIAL_MAP_BRDG]: 10
Value[MATERIAL_MAP_BRDF]: 10
Enum 09: ShaderLocationIndex (26 values)
Name: ShaderLocationIndex
Description:

+ 1
- 1
parser/raylib_api.xml View File

@ -407,7 +407,7 @@
<Value name="MATERIAL_MAP_CUBEMAP" integer="7" desc="" />
<Value name="MATERIAL_MAP_IRRADIANCE" integer="8" desc="" />
<Value name="MATERIAL_MAP_PREFILTER" integer="9" desc="" />
<Value name="MATERIAL_MAP_BRDG" integer="10" desc="" />
<Value name="MATERIAL_MAP_BRDF" integer="10" desc="" />
</Enum>
<Enum name="ShaderLocationIndex" valueCount="26" desc="">
<Value name="SHADER_LOC_VERTEX_POSITION" integer="0" desc="" />

+ 1
- 1
src/raylib.h View File

@ -708,7 +708,7 @@ typedef enum {
MATERIAL_MAP_CUBEMAP, // Cubemap material (NOTE: Uses GL_TEXTURE_CUBE_MAP)
MATERIAL_MAP_IRRADIANCE, // Irradiance material (NOTE: Uses GL_TEXTURE_CUBE_MAP)
MATERIAL_MAP_PREFILTER, // Prefilter material (NOTE: Uses GL_TEXTURE_CUBE_MAP)
MATERIAL_MAP_BRDG // Brdg material
MATERIAL_MAP_BRDF // Brdf material
} MaterialMapIndex;
#define MATERIAL_MAP_DIFFUSE MATERIAL_MAP_ALBEDO

Loading…
Cancel
Save