final
This commit is contained in:
parent
22435a77bb
commit
2208dd8173
3 changed files with 5 additions and 5 deletions
|
@ -1,10 +1,10 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<ZONE_B>
|
<ZONE_B>
|
||||||
<XY>54.0816, 3.06123</XY>
|
<XY>60.2041, 18.3673</XY>
|
||||||
<scale>1.724</scale>
|
<scale>1.72</scale>
|
||||||
<device>video1</device>
|
<device>video1</device>
|
||||||
<thermo_delay>6</thermo_delay>
|
<thermo_delay>6</thermo_delay>
|
||||||
<blend_add>1</blend_add>
|
<blend_add>1</blend_add>
|
||||||
<render_times>0</render_times>
|
<render_times>0</render_times>
|
||||||
<trace_times>21</trace_times>
|
<trace_times>28</trace_times>
|
||||||
</ZONE_B>
|
</ZONE_B>
|
||||||
|
|
|
@ -123,7 +123,7 @@ void main()
|
||||||
vec3 remapedColor = mix(remapedColorC, remapedColorW, rate);
|
vec3 remapedColor = mix(remapedColorC, remapedColorW, rate);
|
||||||
float alpha = min(1, max(0, 1 - pow(gAge,4)));
|
float alpha = min(1, max(0, 1 - pow(gAge,4)));
|
||||||
if(uEnergy > 0) {
|
if(uEnergy > 0) {
|
||||||
alpha *= 0.075;
|
alpha *= 0.08;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
alpha *= 0.3;
|
alpha *= 0.3;
|
||||||
|
|
|
@ -207,7 +207,7 @@ void main()
|
||||||
age += 0.01;
|
age += 0.01;
|
||||||
|
|
||||||
if(target.w < 1) {
|
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;
|
target.w += 0.1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue