Rename BRDG typo to BDRF (#2028)

This commit is contained in:
Chris 2021-10-02 13:07:42 +01:00 committed by GitHub
parent e34c0911f9
commit 9882796df0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

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);
//--------------------------------------------------------------------------------------------------------

View File

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

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:

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="" />

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