This commit is contained in:
micuat 2020-11-06 17:50:37 +01:00
parent 22435a77bb
commit 2208dd8173
3 changed files with 5 additions and 5 deletions

View file

@ -1,10 +1,10 @@
<?xml version="1.0"?>
<ZONE_B>
<XY>54.0816, 3.06123</XY>
<scale>1.724</scale>
<XY>60.2041, 18.3673</XY>
<scale>1.72</scale>
<device>video1</device>
<thermo_delay>6</thermo_delay>
<blend_add>1</blend_add>
<render_times>0</render_times>
<trace_times>21</trace_times>
<trace_times>28</trace_times>
</ZONE_B>

View file

@ -123,7 +123,7 @@ void main()
vec3 remapedColor = mix(remapedColorC, remapedColorW, rate);
float alpha = min(1, max(0, 1 - pow(gAge,4)));
if(uEnergy > 0) {
alpha *= 0.075;
alpha *= 0.08;
}
else {
alpha *= 0.3;

View file

@ -207,7 +207,7 @@ void main()
age += 0.01;
if(target.w < 1) {
if(mod(random3(pos).x,1) > 0.05) {
if(mod(random3(pos).x,0.5) > 0.05) {
target.w += 0.1;
}
}