Frames tank when adding a gbuffers_skybasic shader
So I'm working on a shader pack, and for whatever reason, adding
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.
the shaderpack in question: https://github.com/jgcodes2020/steve-shaders/tree/a339f36db0c8777bf51ede58b20ee2ec670c839d (please use this commit)
Try removing gbuffers_skybasic and see if it somehow boosts frames instantly.GitHub
GitHub - jgcodes2020/steve-shaders at a339f36db0c8777bf51ede58b20ee...
Somewhat Trivially Enhanced Visual Effects - a simple shaderpack for simple effects - GitHub - jgcodes2020/steve-shaders at a339f36db0c8777bf51ede58b20ee2ec670c839d
Solution:Jump to 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...
3 Replies
debug screenshot for specs

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
still not sure if this is a bug or just bad performance