Welcome, Guest.
Username: Password: Remember me

TOPIC: UI.fxh for maintain UI type compatible since 3.x

UI.fxh for maintain UI type compatible since 3.x 4 months 2 weeks ago #1

This is used by all effect for maintain compatible the ui_type.

Features
  • The color of alpha by float of single component will not converting to "input" type in old versions.
  • You no longer need to make additional changes for old versions. for only change into the future.

Code (there may be miss cases):
gist.github.com/seri14/007e6193a9cbec128eb37aacf7785fa8

Sample:
#include "UI.fxh"

uniform float fOpacity < __UNIFORM_COLOR_FLOAT1
	ui_label = "Texture Opacity";
	ui_tooltip = "The opacity of the applying texture";
> = 0.5;
The administrator has disabled public write access.
The following user(s) said Thank You: crosire