Help with GTA San Andreas ENB Series

solving problems with low performance
Post Reply
  • Author
  • Message
Offline
Posts: 3
Joined: 12 May 2021, 14:57

Help with GTA San Andreas ENB Series

Hello
I'm wondering if there is some way to fully disable reflections & other stuff from ENB 0.430 Except enbwater , when I tried to remove reflections from enbvehicle by disabling these codes:
technique Draw
{
pass p0
{
VertexShader = compile vs_3_0 VS_Draw();
PixelShader = compile ps_3_0 PS_Draw();
}
}


//most likely car's windows, but can be some buggy elements
technique DrawTransparent
{
pass p0
{
VertexShader = compile vs_3_0 VS_Draw();
PixelShader = compile ps_3_0 PS_Draw();
//maybe just ignore defer for transparent objects?
// COLORWRITEENABLE1=0;
// COLORWRITEENABLE2=0;
// ZWriteEnable=FALSE;
}
}

I found it's not fully removed & its effect on fps still exists.
unlike enb 0.248( like MMGE , FreezIn ...etc) , you have the option (enablereflection=) and you can set it to false to fully disable reflection.

So is there anything cause that effect on fps or reflections another enbvehicle , and how can I disable it?
Can I use enbwater.fx on lower version of enb such as 0.248 , how can I do that?

thanks...

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17447
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: Help with GTA San Andreas ENB Series

Impossible to disable in new versions as it heavily rely on deferred rendering. Just use old version.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7

Offline
Posts: 3
Joined: 12 May 2021, 14:57

Re: Help with GTA San Andreas ENB Series

ENBSeries wrote: 12 May 2021, 15:24 Impossible to disable in new versions as it heavily rely on deferred rendering. Just use old version.
well , can I use enbwater.fx of enb 0.430 in older versions ENB series?

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17447
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: Help with GTA San Andreas ENB Series

No, that shader didnt exist in old versions (before deferred rendering).
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7

Offline
Posts: 3
Joined: 12 May 2021, 14:57

Re: Help with GTA San Andreas ENB Series

ENBSeries wrote: 12 May 2021, 21:37 No, that shader didnt exist in old versions (before deferred rendering).
but I found someone who could add newer versions such as 0.340 ( like directx2.0..etc) shaders (cloud shaders) to old version of enb (v0.306) in the file (enbeffectprepass.fx) , also he told me it's possible to add water shader to that version of enb . So can I give you the codes of enbeffectprepass.fx file & maybe you could help me adding water shader as he did with the clouds ?
anyway here is the link of enbeffectprepass.fx codes if you wanna take a look & help me :
https://pastebin.com/dTLVa3j1

waiting for reply...

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17447
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: Help with GTA San Andreas ENB Series

I will not do this, first because i am not personal programmer to do such things, second i quitted modding gtasa and said many times it's unsupported, third every shader have its own task and computing things in some other means to break some of mod or game features and in this case all transparent objects will be fucked up.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
Post Reply