add ui.json and del default values from SparkEmitter

This commit is contained in:
Vlad committed 2025-12-19 17:35:34 +06:00
1 parent 53ea1f768c
commit 068c319890
11 files changed
+540 -50

No files matched your search

+10 -6
View File
@@ -1,8 +1,12 @@
#version 120
varying vec2 fTexCoord;
//precision mediump float;
uniform sampler2D Texture;
void main() {
vec4 col = texture2D(Texture, fTexCoord);
// простой аддитивный блёк
gl_FragColor = col;
varying vec2 texCoord;
void main()
{
vec4 color = texture2D(Texture,texCoord).rgba;
//gl_FragColor = vec4(color.rgb*0.9 + vec3(0.1, 0.1, 0.1), 1.0);
gl_FragColor = color;
}