 |
Blamite Game Engine - blam!
00423.10.27.24.0533.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
122 real alpha_test_threshold;
126 color background_diffuse_color;
127 color emissive_color;
130 real clear_coat_amount;
131 real clear_coat_roughness;
134 real transparency_amount;
144 real refraction_strength;
154 color specular_color;
186 real alpha_test_threshold;
207 {1,
"haloman30",
"Initial implementation."},
208 {2,
"haloman30",
"Add settings for texture sampler."},
209 {3,
"haloman30",
"Combine sampler and texture fields into tag block, with each entry specifying a texture."},
210 {4,
"haloman30",
"Add fields for texture offset and scale."},
211 {5,
"haloman30",
"Add input parameters block"},
212 {6,
"haloman30",
"Add support for unlit materials"},
232 "uses two sided lighting",
234 "use emissive as lightmap",
264 "inherit from bitmap",
272 "inherit from bitmap",
280 "inherit from bitmap",
314 "less than or equal",
317 "greater than or equal",
328 "bidirectional reflectance distribution function"),
332 "separate diffuse fresnel",
349 "less than or equal",
352 "greater than or equal",
358 "shadow caster only",
359 "use alpha from texture",
361 new RealField(
"alpha test threshold",
""),
365 new ColorField(
"background diffuse color",
""),
370 new RealField(
"clear coat roughness",
""),
373 new RealField(
"transparency amount",
""),
376 "use alpha from textures",
377 "change blend block",
386 new RealField(
"refraction strength",
""),
392 "specular (fresnel)",
403 "enable planar reflections",
404 "enable diffuse color",
416 "inherit from bitmap",
424 "inherit from bitmap",
432 "inherit from bitmap",
473 "less than or equal",
476 "greater than or equal",
482 "shadow caster only",
483 "use alpha from texture",
485 new RealField(
"alpha test threshold",
""),
Namespace containing functions related to tag data.
Definition: bitmap.h:197
Class representing a real tag field.
Definition: real.h:16
TAG_BLOCK(pbr_material, { bitfield16 flags;TAG_BLOCK(textures, { TAG_ENUM(texture_type, { diffuse, normal, specular, metallic, roughness, detail_weight, detail_0, detail_1, detail_2, detail_3, detail_normal_0, detail_normal_1, detail_normal_2, detail_normal_3, emissive, reflection, });tag_reference texture;material_filter_modes filter_mode_min;material_filter_modes filter_mode_mag;material_filter_modes filter_mode_mip;material_wrap_modes wrap_mode_x;material_wrap_modes wrap_mode_y;material_wrap_modes wrap_mode_z;real lod_bias;real max_anisotropy;material_comparison_function sampler_comparison_function;color border_color;real min_lod;real max_lod;vector2 offset;vector2 scale;});bitfield16 brdf_flags;TAG_ENUM(brdf_function, { default_brdf, cook_torrance, blinn_phong, });material_comparison_function alpha_comparison_function;bitfield16 alpha_flags;real alpha_test_threshold;color diffuse_color;color background_diffuse_color;color emissive_color;real clear_coat_amount;real clear_coat_roughness;real transparency_amount;bitfield16 transparency_flags;TAG_ENUM(transparency_mode, { none, transparent, fade, refractive, });real refraction_strength;TAG_ENUM(workflows, { specular, specular_fresnel, metallic, });color specular_color;real metalness;real roughness;})
material_wrap_modes
Definition: material.h:30
Class representing a vector2 tag field.
Definition: vector.h:34
Class representing a data reference, or dataref for short.
Definition: dataref.h:19
Class representing a bitfield16 tag field.
Definition: bitfield.h:44
Class representing a tag reference, or tagref for short.
Definition: tagref.h:20
signed char int8_t
Definition: stdint.h:11
std::vector< BlamTagClassField * > fields
A series of tag fields that store the layout of the tag.
Definition: tags.h:200
Typedef for a bitfield8 field, used in tag data definitions.
Definition: tags.h:344
std::vector< BlamTagClassRevision > revisions
List of all tag class revisions. Does not get written to tags, but is included in plugin files.
Definition: tags.h:199
Class representing an int8 tag field.
Definition: int.h:72
std::string class_name_short
The short, 4-character name of the tag class.
Definition: tags.h:197
int version
The tag class version. Should be incremented any time a tag class is modified whatsoever.
Definition: tags.h:198
Structure representing a tag reference.
Definition: tags.h:277
Structure representing a field reference.
Definition: tags.h:436
std::string class_name_long
The longer class name. Typically shown alongside short name for user-friendliness.
Definition: tags.h:196
Definition: material.h:52
material_filter_modes
Definition: material.h:22
unsigned int uint32_t
Definition: stdint.h:17
Definition: material.h:197
data_reference id
Definition: material.h:56
Typedef for a bitfield16 field, used in tag data definitions.
Definition: tags.h:359
Structure representing a data reference.
Definition: tags.h:323
int tag_size
The size of the tag's data. Used on loading/writing tag files.
Definition: tags.h:201
TAG_ENUM(material_type, { pbr, unlit, })
#define BLAM
Definition: material.h:19
Class representing a color tag field.
Definition: color.h:19
void * address
The address pointing to the start of the tag's data.
Definition: tags.h:130
Class used to contain and access tag data.
Definition: tags.h:124
BLAM material * GetMaterialTag(std::string tag_path)
Definition: material.cpp:16
Class representing a fieldref tag field.
Definition: fieldref.h:17
MaterialTagClass()
Definition: material.h:200
Class representing a tag block field, also sometimes referred to as a struct or reflexive in the modd...
Definition: block.h:19
material_comparison_function
Definition: material.h:37
Class representing a tag class.
Definition: tags.h:193
Class representing a bitfield8 tag field.
Definition: bitfield.h:33