 |
Blamite Game Engine - blam!
00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
86 real luminance_threshold;
108 {1,
"haloman30",
"Initial implementation."},
122 "fields can be overridden by instances",
125 "shape of the light"),
126 new Enum32Field(
"shape",
"The shape/type of the light source.",
135 new RealField(
"power scale",
"The relative power scale of the light."),
137 "color and intensity of the light"),
141 "determines how the light is rendered when the camera is close or far from the light"),
142 new RealField(
"maximum distance",
"The maximum distance that this light will be visible. If the camera is further than this distance away from the light, then the light will no longer be rendered."),
143 new RealField(
"near clip distance",
"The near clip distance of the light. If the camera is this close to the light, shadows will stop being rendered. Only applies when using texture shadows."),
144 new RealField(
"far clip distance",
"The far clip distance of the light. If the camera is at least this far from the light, shadows will stop being rendered. Only applies when using texture shadows."),
145 new RealField(
"near shadow distance",
"The near shadow distance of the light. If the camera is this close to the light, shadows will no longer be cast by this light source."),
146 new RealField(
"far shadow distance",
"The far shadow distance of the light. If the camera is this far from the light, shadows will no longer be cast by this light source."),
150 "the shape of the spotlight"),
154 "the falloff of the spotlight"),
159 "Controls how light diminishes with distance.\n"
161 "Of the two blocks listed below, only one will be used based on the 'attenuation method' value:\n"
162 "* simple - The 'simple attenuation' block is used.\n"
163 "* complex - The 'complex attenuation' block is used.\n"
165 "Only the first entry of a block will be used. Any other entries are ignored."),
174 new RealField(
"luminance threshold",
""),
Namespace containing functions related to tag data.
Definition: bitmap.h:196
Class representing a real tag field.
Definition: real.h:16
real near_clip_distance
The near clip distance of the light. If the camera is this close to the light, shadows will stop bein...
Definition: light.h:54
TAG_ENUM(shape, { directional, point, spotlight, virtual_point, area_cheap, area_pbr, })
The shape/type of the light source.
real far_clip_distance
The far clip distance of the light. If the camera is at least this far from the light,...
Definition: light.h:55
Class representing a bitfield16 tag field.
Definition: bitfield.h:44
real near_shadow_distance
The near shadow distance of the light. If the camera is this close to the light, shadows will no long...
Definition: light.h:56
TAG_BLOCK(spotlight_settings, { real inner_angle;real outer_angle;real falloff;real near_clip_distance;})
std::vector< BlamTagClassField * > fields
A series of tag fields that store the layout of the tag.
Definition: tags.h:138
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:137
bitfield16 flags
Definition: light.h:30
std::string class_name_short
The short, 4-character name of the tag class.
Definition: tags.h:135
color diffuse_color
Definition: light.h:49
int version
The tag class version. Should be incremented any time a tag class is modified whatsoever.
Definition: tags.h:136
real power_scale
The relative power scale of the light.
Definition: light.h:46
std::string class_name_long
The longer class name. Typically shown alongside short name for user-friendliness.
Definition: tags.h:134
BLAM BlamTagData * GetTagData(std::string tag_path)
Retrieves information for a given tag.
Definition: tags.cpp:80
Typedef for a bitfield16 field, used in tag data definitions.
Definition: tags.h:290
#define BLAM
Definition: light.h:20
int tag_size
The size of the tag's data. Used on loading/writing tag files.
Definition: tags.h:139
Class representing a color tag field.
Definition: color.h:19
LightTagClass()
Definition: light.h:101
void * address
The address pointing to the start of the tag's data.
Definition: tags.h:71
color specular_color
Definition: light.h:50
Class used to contain and access tag data.
Definition: tags.h:68
Class representing a tag block field, also sometimes referred to as a struct or reflexive in the modd...
Definition: block.h:21
BLAM light * GetLightTag(std::string tag_path)
Definition: light.cpp:16
real maximum_distance
The maximum distance that this light will be visible. If the camera is further than this distance awa...
Definition: light.h:53
Class representing a tag class.
Definition: tags.h:131
real far_shadow_distance
The far shadow distance of the light. If the camera is this far from the light, shadows will no longe...
Definition: light.h:57