summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/shaders/decal_data_inc.glsl
blob: ccaad1331158bd034609e3b72fcae5364d083251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

struct DecalData {
	mat4 xform; //to decal transform
	vec3 inv_extents;
	float albedo_mix;
	vec4 albedo_rect;
	vec4 normal_rect;
	vec4 orm_rect;
	vec4 emission_rect;
	vec4 modulate;
	float emission_energy;
	uint mask;
	float upper_fade;
	float lower_fade;
	mat3x4 normal_xform;
	vec3 normal;
	float normal_fade;
};