Frames tank when adding a gbuffers_skybasic shader
So I'm working on a shader pack, and for whatever reason, adding
gbuffers_skybasic
gbuffers_skybasic
in any form seems to cut my framerate to about 1/3 of what it does without. I have no clue why this is, and suspect it's either my GPU's problem or Iris's problem.
Somewhat Trivially Enhanced Visual Effects - a simple shaderpack for simple effects - GitHub - jgcodes2020/steve-shaders at a339f36db0c8777bf51ede58b20ee2ec670c839d
Solution
I figured out what's causing it: - writing to colortex1 in gbuffers_skybasic slows things down by a lot - using hardware clear to set the buffer's colour appears to be significantly faster - the specular information buffer is an RGBA32UI texture, so that could explain the slowdown since it would get overridden on every pixel that actually has geometry