LuxCore: new "HSV" texture

Discussion related to the implementation of new features & algorithms to the Core Engine.

Moderators: Dade, jromang, tomb, zcott, coordinators

LuxCore: new "HSV" texture

Postby B.Y.O.B. » Sat Dec 12, 2015 4:51 am


Dade and I added a new texture for HSV manipulation to LuxCore.
It can be used to control the hue, saturation and brightness of any color input.

Usage (exporter developers):

There are 4 input values for this texture, all of them can be textured. The hue, saturation and value inputs will only use the float value of their input.
  • texture: the input color
  • hue: range 0..1, shift in hue
  • saturation: range 0..inf, although some soft max limit is advised (in LuxBlend it is 2), specifies the saturation
  • value: range 0..inf, simply a brightness multiplicator
Code: Select all
scene.textures.<texture name>.type = hsv
scene.textures.<texture name>.texture = 0.8 0.3 0.2
scene.textures.<texture name>.hue = 0.5
scene.textures.<texture name>.saturation = 1.0
scene.textures.<texture name>.value = 1.0

Usage (LuxBlend):

The node can be found in "Add Nodes > Color & Math > Hue Saturation Value".
Example images:

Unbenannt.PNG (8.93 KiB) Viewed 772 times
The saturation of the image texture is controlled by a clouds texture
User avatar
Posts: 5140
Joined: Wed Nov 10, 2010 4:10 pm
Location: Germany

Return to Architecture & Design

Who is online

Users browsing this forum: No registered users and 1 guest