Add comments

This commit is contained in:
Milan Nikolic 2017-10-28 16:37:38 +02:00
parent 8f86843455
commit 62b98741c0

View file

@ -55,6 +55,7 @@ const (
MapBrdf MapBrdf
) )
// Material map type
const ( const (
MapDiffuse = MapAlbedo MapDiffuse = MapAlbedo
MapSpecular = MapMetalness MapSpecular = MapMetalness
@ -62,8 +63,11 @@ const (
LocMapSpecular = LocMapMetalness LocMapSpecular = LocMapMetalness
) )
// Shader and material limits
const ( const (
// Maximum number of predefined locations stored in shader struct
MaxShaderLocations = 32 MaxShaderLocations = 32
// Maximum number of texture maps stored in shader struct
MaxMaterialMaps = 12 MaxMaterialMaps = 12
) )