DB/DecalProperties: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
m (host images internally to avoid loss)
 
Line 4: Line 4:
AreaTriggers have two textures imposed upon one another. The relationship between the top and bottom texture can be treated like a donut, where the top is the interior, and the bottom is the donut itself.
AreaTriggers have two textures imposed upon one another. The relationship between the top and bottom texture can be treated like a donut, where the top is the interior, and the bottom is the donut itself.


Images contained in this album may assist with how some of the attributes behave when changed: https://imgur.com/a/1TqbAHx
See the screenshots below for how some of the attributes behave when changed.


==Structure (8.3.5)==
==Structure (8.3.5)==
Line 51: Line 51:
|-  
|-  
|}
|}
==Screenshots==
===BlendMode===
<gallery>
Decalproperties blend 0.png | BlendMode = 0
Decalproperties blend 1.png | BlendMode = 1
</gallery>
===Flags===
<gallery>
Decalproperties flag 0.png | Flags = 0
Decalproperties flag 1.png | Flags = 1
Decalproperties flag 2.png | Flags = 2
Decalproperties flag 4.png | Flags = 4
</gallery>
===Gain===
<gallery>
Decalproperties gain 0.0.png | Gain = 0.0
Decalproperties gain 0.5.png | Gain = 0.5
Decalproperties gain 1.0.png | Gain = 1.0
Decalproperties gain 5.0.png | Gain = 5.0
</gallery>
===*Radius===
<gallery>
Decalproperties inner radius 0.0.png | InnerRadius = 0.0 & OuterRadius = ???
Decalproperties inner radius 0.5.png | InnerRadius = 0.5 & OuterRadius = ???
Decalproperties outer radius 0.0.png | InnerRadius = ??? & OuterRadius = 0.0
Decalproperties outer radius 0.5.png | InnerRadius = ??? & OuterRadius = 0.5
</gallery>


[[Category:DBC]]
[[Category:DBC]]

Latest revision as of 20:20, 25 April 2022

≥ Legion

AreaTriggers have two textures imposed upon one another. The relationship between the top and bottom texture can be treated like a donut, where the top is the interior, and the bottom is the donut itself.

See the screenshots below for how some of the attributes behave when changed.

Structure (8.3.5)

Column Field Type Notes
1 ID Integer Linked by AreaTrigger decalPropertiesId
2 FileDataID iRefID
3 TopTextureBlendSetID iRefID
4 BotTextureBlendSetID iRefID
5 modX Float
6 InnerRadius Float Inverse of how harshly BotTextureBlendSetID intrudes upon the TopTextureBlendSetID. At 0, there is a sharp cutoff.
7 OuterRadius Float Inverse of how harshly TopTextureBlendSetID applies on top of BotTextureBlendSetID. This controls the overall size of the areatrigger texture.
8 Rim Float Controls the size of the areatrigger texture by ensuring that the donut outer radius does not change.
9 Gain Float Controls how harshly the TopTextureBlendSetID spreads onto the normal textures around it. At 0 there is a sharp cutoff.
10 Flags Bitmask Behaviour properties of the decal. Flags 4 makes the texture colour change depending on camera angle - looking down on it is darker than from ground level. Flags 8 makes the bottom texture disappear.
11 Scale Float
12 FadeIn Float Self explanatory. 0 for instant.
13 FadeOut Float Self explanatory. 0 for instant.
14 Priority Int
15 BlendMode Int Controls how TopTextureBlendSet applies onto terrain. Type 0 is overwrite but with blending, Type 1 only works without BottomTextureBlendSet and Type 2 is overwrite without blending.
16 GameFlags Int
17 CasterDecalProperties Int
18 ArbitraryBoxHeight Float

Screenshots

BlendMode

Flags

Gain

*Radius