This is an old revision of the document!
Start Page » Game Development with the Drag[en]gine » Skin Texture Properties » Texture Property Database
This list contains all approved texture properties. If you implement a graphic, audio or physics module you should stick to this list. You are not required to support all texture properties mentioned here but if you support them stick to the definition below. Artist rely on the same list to produce their content. For testing new texture properties you can of course define new properties and propose them for inclusion.
The properties are listed with their name as title. Property names typically compose of one or more names with optional dots in between. Color components and gray scale values are written in the range from 0 to 1 with 0 equal to an RGB value of 0 and 1 equal to an RGB value of 255. The brief below the description indicates the used data type and the default value if the property is not specified. Values in round brackets indicate a color with in the form ( red, green, blue ) or ( red, green, blue, alpha ).
Note: Boolean Value is the same as Single Value just indicating that only the values 0 and 1 have a meaning.
Property Name | Description | Source | Default | Affected Modules | Linked Properties |
---|---|---|---|---|---|
ambient.occlusion | Ambient occlusion. | image | 1 | Graphic | - |
color | Albedo color. | image | (0,0,0) | Graphic | color.gamma, color.tint |
color_alpha | Albedo color with transparency. | image | (0,0,0,1) | Graphic | color.gamma, color.tint |
color.gamma | Gamma correction for the color and color_alpha texture property. | value | 2.2 | Graphic | color, color_alpha |
color.tint | Tint for the color and color_alpha texture property. | value | (1,1,1) | Graphic | color, color_alpha |
transparency | Transparency. | image | 1 | Graphic | transparency.type |
transparency.type | Transparency type (full or masked). | value | 0 (masked) | Graphic | transparency |
normal | Surface normal. | image | (0.5,0.5,1.0) | Graphic, Physics | normal.strength |
normal.strength | Strength of normal property influence. | value | 1 | Graphic, Physics | normal |
height | Height of surface point. | value | 0.5 | Graphic | height.scale |
height.scale | Scale of height texture property. | value | 1 | Graphic | height |
refraction.distort | Distortion behind transparent object. | image | (0.5,0.5) | Graphic | refraction.distort.strength |
refraction.distort.strength | Strength of the distortion behind transparent object effect. | value | 0.01 | Graphic | refraction.distort |
reflectivity | Per-color reflectivity/reflectance. | image | 3 | Graphic | reflectivity.gamma |
reflectivity.gamma | Gamma correction for the reflectivity texture property. | value | 1 | Graphic | reflectivity |
roughness | Surface roughness. | image | (1,1) | Graphic, Physics | roughness.remap.lower, roughness.remap.upper, roughness.gamma |
roughness.remap.lower | Lower remap value for the roughness texture property. | value | 0 | Graphic, Physics | roughness |
roughness.remap.upper | Upper remap value for the roughness texture property. | value | 1 | Graphic, Physics | roughness |
roughness.gamma | Gamma correction for the roughness texture property. | value | 1 | Graphic, Physics | roughness |
environmentmap | Defines a custom environmentmap to use for reflections. | image | (1,1,1,0) | Graphic | - |
mirror | Defines if the material is fully mirroring. | value | 0 | Graphic | - |
emissivity | Defines the emissivity. | image | (0,0,0) | Graphic | emissivity.intensity |
emissivity.intensity | Defines the emissivity intensity. | value | 1 | Graphic | emissivity |
shadow.none | Defines if the material casts shadows. | value | 1 | Graphic | - |
shadow.importance | Defines how important shadow casting is for this material. | value | 1 | Graphic | - |
texcoord.clamp | Defines if the texture coordinates are clamped to the border. | value | 0 | Graphic | - |
texcoord.scale | Defines the scaling for texture coordinates. | value | (1,1) | Graphic | - |
These properties are understood in general only by the Graphic Module. Some might also be understood by other modules but this is not the default behavior.
These properties are understood by the Physics Module.
Defines the bounciness of a surface. This is used by the physics module to determine with what fraction of the incoming force an object is repelled from a surface. A value of 0 equals to no bounciness in which case an object hitting this surface is not repelled at all whereas 1 equals to full bounciness in which case an object bounces off this surface with the force it arrived. This has to be a single value.
Single value, default 0.2
These properties are understood by the Audio Module.
Note: There are not accepted audio properties yet but some in testing.