Reshade FPS boost?
- Alfredxx
- Topic Author
Less
More
8 years 9 months ago - 8 years 9 months ago #1
by Alfredxx
Reshade FPS boost? was created by Alfredxx
Note: These tweaks are mainly for pre1.1 MER. With MER 1.1 you can now choose between RGBA8, RGBA16F and RGBA32F textures. However, the tweaks under point 3 can still be applied.
Just encountered two methods to gain a few FPS (this is an understatement, I gained nearly 80 FPS in one scene, doubling the framerate) with ME. Fortunately I've noticed no* differences in quality.
1. Change the texture format from RGBA32F to RGBA8
2. Change MipLevels from 7 to 1
3. see also this post for some additonal tweaks
So it should look like this:
texture texColorHDR1 { Width = BUFFER_WIDTH; Height = BUFFER_HEIGHT; MipLevels = 1; Format = RGBA8;}; //ping
texture texColorHDR2 { Width = BUFFER_WIDTH; Height = BUFFER_HEIGHT; MipLevels = 1; Format = RGBA8;}; //pong
texture texMagicDOF { Width = BUFFER_WIDTH; Height = BUFFER_HEIGHT; MipLevels = 1; Format = RGBA8;};
#if (USE_RAYMARCH_AO == 1)
texture texAO { Width = BUFFER_WIDTH; Height = BUFFER_HEIGHT; MipLevels = 1; Format = RGBA8;};
texture texAO2 { Width = BUFFER_WIDTH; Height = BUFFER_HEIGHT; MipLevels = 1; Format = RGBA8;};
#endif
texture2D texDepth : DEPTH;
texture texBloom1 { Width = BUFFER_WIDTH; Height = BUFFER_HEIGHT; MipLevels = 1; Format = RGBA8;};
texture texBloom2 { Width = BUFFER_WIDTH/2; Height = BUFFER_HEIGHT/2; MipLevels = 1;Format = RGBA8;};
texture texBloom3 { Width = BUFFER_WIDTH/4; Height = BUFFER_HEIGHT/4; MipLevels = 1;Format = RGBA8;};
texture texBloom4 { Width = BUFFER_WIDTH/8; Height = BUFFER_HEIGHT/8; MipLevels = 1;Format = RGBA8;};
texture texBloom5 { Width = BUFFER_WIDTH/16; Height = BUFFER_HEIGHT/16; MipLevels = 1;Format = RGBA8;};
I haven't tested Magic Dof and Raymarch AO with these values. (Edit: seems to work well)
edit:
Example Comparison (look at FPS in upper right corner)
*There may be some decrease in quality for some effects, but it's barely visible most of the time. For better dof-quality set texColorHDR2 to RGBA16 (litte fps drain). (See this post)
Just encountered two methods to gain a few FPS (this is an understatement, I gained nearly 80 FPS in one scene, doubling the framerate) with ME. Fortunately I've noticed no* differences in quality.
1. Change the texture format from RGBA32F to RGBA8
2. Change MipLevels from 7 to 1
3. see also this post for some additonal tweaks
So it should look like this:
texture texColorHDR1 { Width = BUFFER_WIDTH; Height = BUFFER_HEIGHT; MipLevels = 1; Format = RGBA8;}; //ping
texture texColorHDR2 { Width = BUFFER_WIDTH; Height = BUFFER_HEIGHT; MipLevels = 1; Format = RGBA8;}; //pong
texture texMagicDOF { Width = BUFFER_WIDTH; Height = BUFFER_HEIGHT; MipLevels = 1; Format = RGBA8;};
#if (USE_RAYMARCH_AO == 1)
texture texAO { Width = BUFFER_WIDTH; Height = BUFFER_HEIGHT; MipLevels = 1; Format = RGBA8;};
texture texAO2 { Width = BUFFER_WIDTH; Height = BUFFER_HEIGHT; MipLevels = 1; Format = RGBA8;};
#endif
texture2D texDepth : DEPTH;
texture texBloom1 { Width = BUFFER_WIDTH; Height = BUFFER_HEIGHT; MipLevels = 1; Format = RGBA8;};
texture texBloom2 { Width = BUFFER_WIDTH/2; Height = BUFFER_HEIGHT/2; MipLevels = 1;Format = RGBA8;};
texture texBloom3 { Width = BUFFER_WIDTH/4; Height = BUFFER_HEIGHT/4; MipLevels = 1;Format = RGBA8;};
texture texBloom4 { Width = BUFFER_WIDTH/8; Height = BUFFER_HEIGHT/8; MipLevels = 1;Format = RGBA8;};
texture texBloom5 { Width = BUFFER_WIDTH/16; Height = BUFFER_HEIGHT/16; MipLevels = 1;Format = RGBA8;};
I haven't tested Magic Dof and Raymarch AO with these values. (Edit: seems to work well)
edit:
Example Comparison (look at FPS in upper right corner)
*There may be some decrease in quality for some effects, but it's barely visible most of the time. For better dof-quality set texColorHDR2 to RGBA16 (litte fps drain). (See this post)
Last edit: 8 years 9 months ago by Alfredxx. Reason: Please help find The Lines to Rename for FPS boost thanks
Please Log in or Create an account to join the conversation.
- Alfredxx
- Topic Author
Less
More
8 years 9 months ago - 8 years 9 months ago #2
by Alfredxx
Replied by Alfredxx on topic Reshade FPS boost?
Please help to find The Lines to Rename for FPS boost thanks
I have found
I have found
Last edit: 8 years 9 months ago by Alfredxx.
Please Log in or Create an account to join the conversation.
- Alfredxx
- Topic Author
Less
More
Hi please help I rename the lines but i sea not FPS Boost for me thanks?????
Please Log in or Create an account to join the conversation.