Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions cont/examples/Widgets/gui_buildsquare_gl4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -140,16 +140,7 @@ flat in float v_status;
out vec4 fragColor;

void main() {
float pulse = 0.85 + 0.15 * sin(timeInfo.x * 4.0);

vec3 col = v_color.rgb * pulse;
float alpha = v_color.a * pulse;

if (v_status < 0.5) {
col = mix(col, vec3(1.0, 0.2, 0.2), 0.3 * sin(timeInfo.x * 8.0 + 1.0));
}

fragColor = vec4(col, alpha);
fragColor = v_color;
}
]]

Expand Down
1 change: 1 addition & 0 deletions doc/site/content/changelogs/changelog-2026-07.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,4 @@ Added a bunch of `debug.emulateFoo` functions that emulate input. Useful for aut
- fix unitsync not running functions passed to `Spring.TimeCheck`.
- fix Skirmish AI API compilation issues due to `AIFloat3` having a non-trivial constructor.
- attempt to fix the lack of `wupget:GameProgress` calls when initially catching up.
- fix Lua `VBO::CopyTo` to copy VBO data CPU side in additon to GPU side. Formerly it only copied data GPU side.