0.2.0-dev Download ZIP
17 lines ·315 B Raw
| 1 | struct DecalData { |
| 2 | mat4 xform; //to decal transform |
| 3 | vec3 inv_extents; |
| 4 | float albedo_mix; |
| 5 | vec4 albedo_rect; |
| 6 | vec4 normal_rect; |
| 7 | vec4 orm_rect; |
| 8 | vec4 emission_rect; |
| 9 | vec4 modulate; |
| 10 | float emission_energy; |
| 11 | uint mask; |
| 12 | float upper_fade; |
| 13 | float lower_fade; |
| 14 | mat3x4 normal_xform; |
| 15 | vec3 normal; |
| 16 | float normal_fade; |
| 17 | }; |