Error with MagicBloom shader:

  • Yago
  • Topic Author
More
6 years 4 months ago #1 by Yago Error with MagicBloom shader: was created by Yago
Hi. I have a error with Magicbloom shader:
18:27:12:370 [06152] | ERROR | Failed to compile "D:\Program Files (x86)\XPlane-11\reshade-shaders\Shaders\MagicBloom.fx":
D:\Program Files (x86)\XPlane-11\reshade-shaders\Shaders\MagicBloom.fx(88, 35): error X3011: 'lowest_mip': initial value must be a literal expression
D:\Program Files (x86)\XPlane-11\reshade-shaders\Shaders\MagicBloom.fx(190, 10): error X3011: value must be a literal expression
D:\Program Files (x86)\XPlane-11\reshade-shaders\Shaders\MagicBloom.fx(213, 109): error X3538: value must be a literal scalar expression

How to fix this?

Please Log in or Create an account to join the conversation.

  • Daodan
More
6 years 4 months ago #2 by Daodan Replied by Daodan on topic Error with MagicBloom shader:
Looks like you are using an old version of MagicBloom with a new vesion of ReShade (which doesn't allow using intrinsics on constants ).
Try downloading the latest version of MagicBloom form the repo and see if that fixes the issue.

Please Log in or Create an account to join the conversation.

  • Yago
  • Topic Author
More
6 years 4 months ago #3 by Yago Replied by Yago on topic Error with MagicBloom shader:
After update MagicBloom appear next error:
23:31:52:847 [10032] | ERROR | Failed to compile "D:\Program Files (x86)\XPlane-11\reshade-shaders\Shaders\MagicBloom.fx":
D:\Program Files (x86)\XPlane-11\reshade-shaders\Shaders\MagicBloom.fx(98, 1): error X3000: syntax error: unexpected 'identifier', expected '='
D:\Program Files (x86)\XPlane-11\reshade-shaders\Shaders\MagicBloom.fx(120, 1): error X3000: syntax error: unexpected 'identifier', expected '='
D:\Program Files (x86)\XPlane-11\reshade-shaders\Shaders\MagicBloom.fx(132, 1): error X3000: syntax error: unexpected 'identifier', expected '='
D:\Program Files (x86)\XPlane-11\reshade-shaders\Shaders\MagicBloom.fx(156, 1): error X3000: syntax error: unexpected 'identifier', expected '='
D:\Program Files (x86)\XPlane-11\reshade-shaders\Shaders\MagicBloom.fx(169, 1): error X3000: syntax error: unexpected 'identifier', expected '='
D:\Program Files (x86)\XPlane-11\reshade-shaders\Shaders\MagicBloom.fx(181, 1): error X3000: syntax error: unexpected 'identifier', expected '='

Please Log in or Create an account to join the conversation.

  • Daodan
More
6 years 4 months ago #4 by Daodan Replied by Daodan on topic Error with MagicBloom shader:
Ah. There was a dependency added to the shader: ReShadeUI.fxh
I think it would be best for you to just download the whole repository as other shaders also use ReShadeUI.fxh.

Please Log in or Create an account to join the conversation.

  • crosire
More
6 years 4 months ago #5 by crosire Replied by crosire on topic Error with MagicBloom shader:
Just use the setup tool to update to a new version. It will update shaders too when asked, but keeps your config and presets intact.

Please Log in or Create an account to join the conversation.