Lua scripting

Lightact allows you to write Lua scripts where each exposed function is represented as a node. Lightact encourages you to write your Lua scripts in your favorite IDE or Text editor (such as Notepad++). Once you save them into a file, you can import them as an Asset and use the exposed functions as nodes […]

Continue reading

Custom Shaders

Lightact can load and use custom fragment shaders written in GLSL (more info here). Custom shaders are loaded with a Custom Shader node. At its most basic configuration, it has just 2 inputs: Resolution and Filepath. The Resolution input tells the node how big of a texture the shader should create and the Filepath input […]

Continue reading

Node connections

There are many different types of node connections and each type carries a different kind of data. They are listed below for your reference.

Continue reading

Text processing

Text processing in Lightact is done through a number of dedicated nodes in Layer Layouts. To avoid any confusion, let’s say right at the beginning that, in Lightact, a text is usually referred to as a string. For those that do not know, this has to do with variable types in computer coding. String substring String substring node […]

Continue reading

JSON parsing and packaging

JSON (JavaScript Object Notation) is a lightweight data-interchange format that is used widely across various computer applications. Lightact allows you to parse incoming JSON data stream into different Lightact variables, as well as package Lightact variables into a JSON string. An example of a simple JSON object with 3 variables would be: { “name”:”John”, “age”:30, “car”:null } As you […]

Continue reading

Interpolation nodes

Lightact has several interpolation nodes. They are used to slowly move the value of a variable towards a target. They are usually used when you want to make a value of a variable, be it a Float, Vec2, Vec3 or Color, to slowly follow a target. Some of the nodes are shown below. Let’s create […]

Continue reading

Easing functions

Lightact has several easing functions. To very quickly clarify what easing functions do: they map an incoming float range (usually it’s from 0-1) to a different 0-1 range. Easing functions, along with their curves are shown below and the numbers in front of their names are how you call upon them. Some of the nodes that […]

Continue reading

Real-time chroma key

This guide explains in detail how to use Chroma key node. In short, chroma keying (or greenscreen removal) is a process of taking 2 images and compositing them together. By far the most common usage is to replace a background of an object with something else. The above operation can be reproduced with the following […]

Continue reading

Real-time color grading

In this post, we’ll dig a little deeper into the real-time color grading performed by the Texture color grading node in Layer Layouts. The node itself is very simple. In the Input texture pin, you connect the texture you want to perform color grading on. In the LUT pin, you should connect a Lookup table. […]

Continue reading

Texture processing

Lightact has a number of texture processing nodes in Layer Layouts. You can find all of them by right-clicking in Layer Layouts and opening the Texture processing category. In this guide, we’ll explain most of them (for the sake of clarity we’ll skip the most obvious ones). Texture add Texture add node stacks textures on […]

Continue reading