Difference between revisions of "Linear lighting"

From PowerUI
Jump to: navigation, search
(Created page with "If you'd like to use a linear lighting workflow in your project, you'll need to define a flag which tells PowerUI it should use the linear colour flow. If this flag isn't set,...")
 
Line 1: Line 1:
 
If you'd like to use a linear lighting workflow in your project, you'll need to define a flag which tells PowerUI it should use the linear colour flow. If this flag isn't set, colours of your UI can appear a little off (either too bright, or too dark, depending on the colour).
 
If you'd like to use a linear lighting workflow in your project, you'll need to define a flag which tells PowerUI it should use the linear colour flow. If this flag isn't set, colours of your UI can appear a little off (either too bright, or too dark, depending on the colour).
  
To set the linear flag, open your current platform build settings and look for the text field called custom defines. Add `LINEAR` in here and when you click out of the field, Unity will recompile your code and PowerUI will then be in linear lighting mode.
+
'''To set the linear flag''', open your current platform build settings and look for the text field called custom defines. Add '''LINEAR''' in here and when you click out of the field, Unity will recompile your code and PowerUI will then be in linear lighting mode.

Revision as of 01:51, 19 February 2018

If you'd like to use a linear lighting workflow in your project, you'll need to define a flag which tells PowerUI it should use the linear colour flow. If this flag isn't set, colours of your UI can appear a little off (either too bright, or too dark, depending on the colour).

To set the linear flag, open your current platform build settings and look for the text field called custom defines. Add LINEAR in here and when you click out of the field, Unity will recompile your code and PowerUI will then be in linear lighting mode.