Welcome, Guest.
Username: Password: Remember me

TOPIC: [SOLVED] S.T.A.L.K.E.R. CoP/CoC shader error (Reshade 2.0)

S.T.A.L.K.E.R. CoP/CoC shader error (Reshade 2.0) 8 months 3 days ago #1

Starting a new playthrough on Call of Chernobyl so I decided to use the 2.0 version of Reshade for it.
There seems to be one minor issue so far however. Whenever I enable Ganossa's LENSDIRT shader, I get this error back:

D:\My Documents\Modding\Reshade\ReShade/Shaders/Ganossa/Bloom.fx(54, 21): error X3011: value must be a literal expression

It seems to be only this shader that's causing the compilation to fail. Is there a simple fix I might be missing or is this something bigger?
Thank you in advance!
The administrator has disabled public write access.

S.T.A.L.K.E.R. CoP/CoC shader error (Reshade 2.0) 8 months 3 days ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2438
  • Thank you received: 1385
Nothing wrong on your part. There seems to be a bug in the ReShade FX compiler, which causes constant expressions to fail compilation. I'll look into it.
Cheers, crosire =)
The administrator has disabled public write access.
The following user(s) said Thank You: bearbearbear

S.T.A.L.K.E.R. CoP/CoC shader error (Reshade 2.0) 8 months 2 days ago #3

Thank you! Hopefully it's not too big of an issue to fix for you.
Last Edit: 8 months 2 days ago by bearbearbear. Reason: spelling error
The administrator has disabled public write access.

S.T.A.L.K.E.R. CoP/CoC shader error (Reshade 2.0) 8 months 2 days ago #4

I received this error not only with Bloom.fx, but with Ganossa/AmbientLight.fx too.
The administrator has disabled public write access.

S.T.A.L.K.E.R. CoP/CoC shader error (Reshade 2.0) 8 months 2 days ago #5

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2438
  • Thank you received: 1385
I've seen multiple reports of this now, but I'm not able to reproduce it. Could somebody please share a config with which this happens?
Cheers, crosire =)
Last Edit: 8 months 2 days ago by crosire.
The administrator has disabled public write access.

S.T.A.L.K.E.R. CoP/CoC shader error (Reshade 2.0) 8 months 2 days ago #6

  • Wicked Sick
  • Wicked Sick's Avatar
  • Offline
  • Die young or suffer (Forgive my poor English)
  • Posts: 360
  • Thank you received: 105
Finding relief somewhere between a tree's branch and its shade.
The administrator has disabled public write access.

S.T.A.L.K.E.R. CoP/CoC shader error (Reshade 2.0) 8 months 2 days ago #7

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2438
  • Thank you received: 1385
I still don't get any errors with it.
Cheers, crosire =)
The administrator has disabled public write access.

S.T.A.L.K.E.R. CoP/CoC shader error (Reshade 2.0) 8 months 1 day ago #8

  • Wicked Sick
  • Wicked Sick's Avatar
  • Offline
  • Die young or suffer (Forgive my poor English)
  • Posts: 360
  • Thank you received: 105
If it helps, i am on Windows 10 x64. Also, perhaps some of the people here should test my upload and see if it generates the error for them. With which game did you try it, Crosire?
Finding relief somewhere between a tree's branch and its shade.
The administrator has disabled public write access.

S.T.A.L.K.E.R. CoP/CoC shader error (Reshade 2.0) 8 months 1 day ago #9

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2438
  • Thank you received: 1385
One Direct3D 9 and one Direct3D 11 game. But all that should not matter. This is an error from the ReShade FX compiler which is independent of OS and API.
Cheers, crosire =)
The administrator has disabled public write access.

S.T.A.L.K.E.R. CoP/CoC shader error (Reshade 2.0) 8 months 1 day ago #10

  • Wicked Sick
  • Wicked Sick's Avatar
  • Offline
  • Die young or suffer (Forgive my poor English)
  • Posts: 360
  • Thank you received: 105
I understand. I asked because I have used this file with Borderlands 2 and it was ok, then with Trine 3 and I got this error. I was thinking that, perhaps, it was something particular to a certain game. Like Thief is.
Finding relief somewhere between a tree's branch and its shade.
The administrator has disabled public write access.

S.T.A.L.K.E.R. CoP/CoC shader error (Reshade 2.0) 8 months 1 day ago #11

  • lowenz
  • lowenz's Avatar
  • Offline
  • Posts: 155
  • Thank you received: 15
Don't play CoP in D3D11. You got the tesselation, right, but the levels use D3D8 light positions and values (see campfire lights). It's a known bug. Or find a fix for that (manually fix the values).
The best option is to play with D3D10 rendering path (and maxed out).
Last Edit: 8 months 1 day ago by lowenz.
The administrator has disabled public write access.

S.T.A.L.K.E.R. CoP/CoC shader error (Reshade 2.0) 8 months 1 day ago #12

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2438
  • Thank you received: 1385
Finally managed to reproduce the error. Will look into it.
Cheers, crosire =)
Last Edit: 8 months 1 day ago by crosire.
The administrator has disabled public write access.

S.T.A.L.K.E.R. CoP/CoC shader error (Reshade 2.0) 8 months 1 day ago #13

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2438
  • Thank you received: 1385
Fixed in the next update.
Cheers, crosire =)
The administrator has disabled public write access.
The following user(s) said Thank You: bearbearbear

S.T.A.L.K.E.R. CoP/CoC shader error (Reshade 2.0) 7 months 2 weeks ago #14

I have found this issue in Ganossa UIMask. I'm trying to mask UI in fallout 4 after applying DOF and I receive this error.
The administrator has disabled public write access.