v1.07A: Indexed Color Lighting


Indexed Color Lighting

This update adds what I'm going to refer to as Indexed Color Lighting.  Voxel Models are shaded by Color Ramps created by the user when this lighting mode is checked.   A color ramp is a gradient of colors, generally they show the transition from one color to the next.  The lighting engine, will determine what color in the ramp to use based on the distance the light is away from the voxel.  So far some settings are hard coded and there isn't a whole lot of play with this mode, this will change in the future.  Some things to note, cast shadows will aways be rendered 2 steps down from original voxel color.  By this I mean, whatever the color of the voxel was originally, it'll pick the 3rd swatch to the right of the color in the color ramp, but clamped to the last color in the color ramp.

In the Modeller Tab, you'll notice some changes to the left side bar.  Here you can add your color ramps, which are defined as a row of swatches.  A plus appears in each color ramp, this button adds new swatches to the color ramp.  Color Ramps should be ordered from lightest to darkest.

In the Animator tab, to enable this lighting function, there's a new toggle in the left hand side of the tab.

Todo

  • Make it so inner outlines also work with color ramps
  • Delete Swatches
  • Delete Color Ramps
  • Generate Color Ramps from a defined first swatch and a last swatch
  • Update Renderer tab to allow for color ramp manipulation when Indexed Lighting is enabled
New
  • Right clicking a swatch allows you to edit the color of the swatch
  • Added a Sphere brush tool to the voxel modeller
Bugfixes
  • Changing Lighting options in the Animator tab updates the 2D preview

Files

PixaVoxet v1.07A.zip 40 MB
Feb 14, 2019

Get PixaVoxet

Leave a comment

Log in with itch.io to leave a comment.