cleaned up particlefire example
really dug into example to learn and just _leaving the example better then I found it_ but cleaning up some unused values and swizzle redudency in shaders. Tested on desktop and android
This commit is contained in:
parent
6e28986d5d
commit
7e15234145
7 changed files with 15 additions and 21 deletions
|
|
@ -11,7 +11,6 @@ layout (location = 1) in float inAlpha;
|
|||
layout (location = 2) in flat int inType;
|
||||
layout (location = 3) in float inRotation;
|
||||
|
||||
|
||||
layout (location = 0) out vec4 outFragColor;
|
||||
|
||||
void main ()
|
||||
|
|
@ -43,4 +42,4 @@ void main ()
|
|||
}
|
||||
|
||||
outFragColor.rgb = color.rgb * inColor.rgb * alpha;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue