Welcome, Guest.
Username: Password: Remember me

TOPIC: Reshade FPS boost?

Reshade FPS boost? 1 year 5 months ago #1

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)
Last Edit: 1 year 5 months ago by Alfredxx. Reason: Please help find The Lines to Rename for FPS boost thanks
The administrator has disabled public write access.

Reshade FPS boost? 1 year 5 months ago #2

Please help to find The Lines to Rename for FPS boost thanks

I have found :)
Last Edit: 1 year 5 months ago by Alfredxx.
The administrator has disabled public write access.

Reshade FPS boost? 1 year 5 months ago #3

Hi please help I rename the lines but i sea not FPS Boost for me thanks?????
The administrator has disabled public write access.