Dark shader transition (Android)
Asked Answered
L

2

0

I want to do a pixelated transition using shaders. On PC everything works just fine, but when I export it to android, transition gets very dark.

Loewe answered 10/7, 2022 at 13:23 Comment(0)
C
0

Mobile has less access to things in shaders, and less features by default. You can export with 3D + Effects for the framebuffer, which should give it, but is not guaranteed to work on all phones.

Canada answered 10/7, 2022 at 16:12 Comment(0)
L
0

Canada
After further debugging I came to a conclusion, that it isn't quite shader related. I tested this shader on simple sprite and it worked. I think the issue lies in taking viewport texture, converting it to image and assigning to texture rect while scenes are changing in the back, but I can't figure out a better way to implement this.

Loewe answered 10/7, 2022 at 17:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.