Blender
V4.3
source
blender
makesdna
DNA_material_defaults.h File Reference
Blender
|
Blender
»
DNA, RNA and .blend access
»
Struct DNA (File Format)
Go to the source code of this file.
Macros
Material Struct
#
define
_DNA_DEFAULT_Material
Macro Definition Documentation
◆
_DNA_DEFAULT_Material
#
define
_DNA_DEFAULT_Material
Value:
{ \
.r = 0.8, \
.g = 0.8, \
.b = 0.8, \
.specr = 1.0, \
.specg = 1.0, \
.specb = 1.0, \
.a = 1.0f, \
.spec = 0.5, \
\
.roughness = 0.4f, \
\
.pr_type =
MA_SPHERE
, \
\
.alpha_threshold = 0.5f, \
\
.blend_shadow =
MA_BS_SOLID
, \
\
.blend_flag =
MA_BL_TRANSPARENT_SHADOW
,\
\
.lineart.mat_occlusion = 1, \
}
MA_BL_TRANSPARENT_SHADOW
@ MA_BL_TRANSPARENT_SHADOW
Definition
DNA_material_types.h:373
MA_SPHERE
@ MA_SPHERE
Definition
DNA_material_types.h:325
MA_BS_SOLID
@ MA_BS_SOLID
Definition
DNA_material_types.h:380
Definition at line
18
of file
DNA_material_defaults.h
.
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0