Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Repository files navigation

Godot DiscreteTexture

This addon adds a DiscreteTexture resource that builds on top of GradientTexture.

API

It provides this new method:

  • discrete() -> ImageTexture which uses the Gradient resouce to produce an ImageTexture of size Vector2(width, 1). This can be previewed in the Inspector as shown in the image below

GradientTexture to DiscreteTexture

About

Godot DiscreteTexture resource addon

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages