ryokohbato / WPF-Neumorphism-Plus

A NuGet Library to make Neumorphism UI on WPF (C#)
MIT License
16 stars 4 forks source link

Not showing over RDP - switch to PixelShader 2.0 #5

Open milos12345 opened 2 years ago

milos12345 commented 2 years ago

The effect is gone when using Remote Desktop. From an old 2015 post: https://stackoverflow.com/questions/30618536/wpf-custom-effect-disappears-when-using-remote-desktop

Compile your PixelShader to ps_2_0 and it should work.

Edit: After further investigation - I found out that PixelShader 3.0 does not support "Software Mode" as opposed to PixelShader 2.0 which does - and that is why it won't work over RDP. WPF Does currently not support using shaders above 3.0 so I am forced to revert back to version 2.0

Is there a drawback to using 2.0 or are there workarounds or possibility of a fork with that one?

ryokohbato commented 2 years ago

Hi @milos12345, Sorry for the late reply. Thank you for the information.

I am compiling with ps_3_0 now and will try to see if I can compile with ps_2_0.

I am not sure if we will officially move from ps_3_0 to ps_2_0, but it should be possible to distribute two compilations, ps_3_0 and ps_2_0.

I've been away from this project lately so I don't know if I can do it soon, but if it compiles well in ps_2_0 I will distribute that as well.