Difference between revisions of "Documentation/Tools/SCS Blender Tools/SCS Tools in Tool Shelf/Wrap & Stats Tools"

From SCS Modding Wiki
Jump to navigation Jump to search
Line 19: Line 19:
  
 
* '''Get Statistics''' - output statistic to console and Blender menu bar.
 
* '''Get Statistics''' - output statistic to console and Blender menu bar.
 +
 +
[[Category:Documentation]]
 +
[[Category:SCS Blender Tools]]

Revision as of 09:02, 16 February 2016

Almost all shaders inside SCS Game engine are using vertex colors. That's why it's very important how you set them.

If shader explicitly doesn't specify otherwise, then vertex colors with values 0.5 are actually neutral colors and won't change the look of resulting mesh inside game. If vertex colors are below 0.5 it will "darken" the model and what will be above 0.5 will result in "brighter" mesh.

Wrap Tool

In addition to this there is Wrap Tool which helps you wrap vertex colors of active vertex color layer on specified interval. So if you baked or painted your model on the range from 0 to 1 you can easily use this tools to scale this interval to the one you define in operator properties (advised interval is from 0.4 to 0.6). Tool can be found in SCS Tools shelf if current object is in "Vertex Paint" mode.

SCS Tools Shelf - Wrap Tool.png

  • Wrap All - wrap vertex colors on all vertices.
  • Wrap Selected - wrap vertex colors only on selected vertices.

Stats Tool

As Blender doesn't have any proper number statistics over currently set vertex colors, this tool enables you to print out minimum, maximum and average vertex colors values for the mesh.

SCS Tools Shelf - Stats Tool.png

  • Get Statistics - output statistic to console and Blender menu bar.