0 votes

Recently, I've been attempting to make a ViewportTexture, aiming to achieve a similar effect to what Parthfinider: Kingmakers have in their travel sequences.

Seen here: https://youtu.be/CrMZi2EXXSE?t=49

I've been able to get close to the desired effect: https://imgur.com/rsIRw8c

This was easy to do when setting the "Clear Mode" on the Viewport to "Next frame" or "Never". However, it has limited what the shader can do. I've been trying to mix the map and the mask so I can get a more blended effect, but the viewport completely wipes it out if the alpha of the mix is below 0.98.

.98 < mix(Alpha): https://imgur.com/cbjTtaK

.98 > mix(Alpha): https://imgur.com/FW5blFR

Can someone please explain to me why this happens?

asked May 3 in Engine by G 1 (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.