mirror of https://github.com/raysan5/raylib
Rename BRDG typo to BDRF (#2028)
This commit is contained in:
parent
e34c0911f9
commit
9882796df0
|
@ -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);
|
||||
//--------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -1870,7 +1870,7 @@
|
|||
"description": ""
|
||||
},
|
||||
{
|
||||
"name": "MATERIAL_MAP_BRDG",
|
||||
"name": "MATERIAL_MAP_BRDF",
|
||||
"value": 10,
|
||||
"description": ""
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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="" />
|
||||
|
|
|
@ -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…
Reference in New Issue