Wallpaper Engine

Wallpaper Engine

Simple Audio Bars
dornteufel1 3 Jun, 2020 @ 11:04am
Syntax Errors only in Live View
I'm not an expert in programming shaders, but I have the problem that the Effect does work in the Editor without problems, but when I save the Wallpaper and try to execute it, some syntax errors prevent the layer to be visible.
If I manually edit your shader and replace the function lerp() with mix(), replace the modulo % with mod(), cast the mix- and mod-values as integers and replace the uint variables to int variables, the shader works as expected - but only as Wallpaper and not in the Editor anymore...

Any Idee, why this is happening?
Last edited by dornteufel1; 3 Jun, 2020 @ 11:16am
< >
Showing 1-3 of 3 comments
Biohazard  [developer] 4 Jun, 2020 @ 10:28am 
You likely changed the graphics API in Wallpaper Engine. Please change it back to DirectX 10/11, the other two currently "supported" APIs are inferior and we will likely completely remove them in the future to avoid that many use them by accident and have various problems due to that.
dornteufel1 4 Jun, 2020 @ 10:57am 
First of all: Thanks - that was the solution.
Second of all: Sorry, that I thought it was a problem of this shader.

Just to answer my curiosity: Why does it render in the Editor? Is everything simulated or does the Editor simply always use DirectX?
Biohazard  [developer] 4 Jun, 2020 @ 12:45pm 
The editor simply always uses Dx10/11, yeah.
< >
Showing 1-3 of 3 comments
Per page: 1530 50