mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-15 16:44:38 +02:00
Fix particle texturing
This commit is contained in:
parent
e25ea122d8
commit
74278cad40
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ void main(void) {
|
|||
vec4 quadPos = radius * UNIT_QUAD[twoTriID];
|
||||
|
||||
// Pass the texcoord and the z texcoord is representing the texture icon
|
||||
varTexcoord = vec2((quadPos.xy + 1.0) * 0.5);
|
||||
varTexcoord = vec2((UNIT_QUAD[twoTriID].xy + 1.0) * 0.5);
|
||||
varColor = mixV(particle.color.start, particle.color.finish , age);
|
||||
varColor.w = particle.color.middle.w;
|
||||
|
||||
|
|
Loading…
Reference in a new issue