Daemon icon indicating copy to clipboard operation
Daemon copied to clipboard

Only update PushBuffer if any uniform has actually changed

Open VReaperV opened this issue 8 months ago • 2 comments

Requires #1684

Further improvement for PushBuffer, only update it if it's actually required.

VReaperV avatar Jun 23 '25 12:06 VReaperV

Also added a fix for globalFog fog texture.

VReaperV avatar Jun 24 '25 17:06 VReaperV

Changed the initial commit and added a new one, now it mutualises currentValue and uniformFirewall (in a way that works with any kind of uniform unlike uniformFirewall, and with both buffers and shader programs unlike currentValue), GLUniform.WriteToBuffer() now only has 1 definition, and the uniform setting functions are now much simpler. Also NUKED a bunch of now unused code.

VReaperV avatar Jun 25 '25 06:06 VReaperV