Skip to content

Use Viewport to generate a composite texture for easy fade in/out vfx

License

Notifications You must be signed in to change notification settings

sszigeti/godot3.1.1-viewport-texture-study

Repository files navigation

A study/reminder for using Viewport in Godot Engine 3.1.1 to generate a composite texture that can be used for proper transparency effects (fade in/out without).

However there are two issues is one issue that should be solved:

  1. The imported texture (rounded rectangle) has a grayish blend on its borders where its alpha goes to 0, even though at Import the Fix Alpha Border was on. Fixed in 8e04c30 by using a proper CanvasItemMaterial as per Calinou's suggestion.
  2. Rotated and downscaled textures do not apply filtering at all, so the image looks pixelated.

A screenshot

About

Use Viewport to generate a composite texture for easy fade in/out vfx

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published