A downloadable shader pack

Download NowName your own price

Overview

Create gradients in Ren'Py without needing any external images. Excellent for all kinds of UI assets and effects, including transitions.

Features

  • Supports three gradient types: linear, radial, and angle
  • Use up to 16 colours for gradients, including transparent and translucent colours
  • Adjust many properties, such as the angle, center, thresholds, scale, and more
  • Can be applied over images and text
  • Includes a GradientDisplayable displayable which can be used to easily create standalone gradient images

Since the shader is used in a transform, you can also animate the gradients via ATL - for example, by adjusting the angle over time, or changing its colours.

Instructions

Download gradient_shaders.zip and unzip it. Drop gradient_examples.rpy and gradient_shaders.rpy into your game folder. An example label is provided with some demo transforms and images, which you can try out by jumping to the label gradient_test. Keep GRADIENT_README.md around to read up on how the different gradient properties work.

Compatibility

This tool requires Ren'Py 7.4+ and config.gl2 to be True. It has been tested for compatibility with Ren'Py 7.5-7.6 and 8.0-8.2. If you have any issues, please make a post in the forums below.

Terms of Use

You may:

  • Use this code in commercial and noncommercial projects, provided you package the code into an rpa file for release - the code to do so is included in the files.
  • Modify and edit this code to suit your needs.

You may not:

  • Resell all or part of this code as-is or sell it with modifications.
  • Release any projects created using this code without providing attribution.

Attribution must be credited as Feniks, with a link to either the page with this code or to https://feniksdev.com.

Final Notes

My next tool was inspired by these gradients - a circular bar! Find it below:


If you're interested in tools for UI, you might also like my Outline Shader, available below!



StatusReleased
CategoryAssets
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorFeniks
GenreVisual Novel
Made withRen'Py
TagsGraphical User Interface (GUI), Ren'Py, Shaders, User Interface (UI)

Download

Download NowName your own price

Click download now to get access to the following files:

gradient_shaders.zip 9.9 kB