decal_data_inc.glsl 414 B

12345678910111213141516171819
  1. struct DecalData {
  2. highp mat4 xform; //to decal transform
  3. highp vec3 inv_extents;
  4. mediump float albedo_mix;
  5. highp vec4 albedo_rect;
  6. highp vec4 normal_rect;
  7. highp vec4 orm_rect;
  8. highp vec4 emission_rect;
  9. highp vec4 modulate;
  10. mediump float emission_energy;
  11. uint mask;
  12. mediump float upper_fade;
  13. mediump float lower_fade;
  14. mediump mat3x4 normal_xform;
  15. mediump vec3 normal;
  16. mediump float normal_fade;
  17. };