Welcome, Guest.
Username: Password: Remember me

TOPIC: Error with MagicBloom shader:

Error with MagicBloom shader: 6 months 3 weeks ago #1

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?
The administrator has disabled public write access.

Error with MagicBloom shader: 6 months 3 weeks ago #2

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.
The administrator has disabled public write access.

Error with MagicBloom shader: 6 months 3 weeks ago #3

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 '='
The administrator has disabled public write access.

Error with MagicBloom shader: 6 months 3 weeks ago #4

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.
The administrator has disabled public write access.

Error with MagicBloom shader: 6 months 3 weeks ago #5

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.
Cheers, crosire =)
The administrator has disabled public write access.