Graph Texture Generator
The Graph texture generator uses a PopcornFX nodegraph to compute the color of each texel from its UV or integer coordinates.
Properties
Property name |
Default value |
Description |
All common properties, see Texture Generators |
||
|
|
When enabled, will generate a cubemap instead of a regular texture |
|
|
Random seed used to generate the texture |
|
|
Texel color to clear the texture with before evaluating the graph |
Atlas |
||
|
|
Number of atlas tiles along each dimension of the texture |
Animation |
||
|
|
When using atlas tiles, time in seconds of the start of the animation (on the first tile) |
|
|
When using atlas tiles, time in seconds of the emd of the animation (on the last tile) |
Texture Graph
The texture graph is run once per texel of the final texture, to compute the color of this texel.
The base texture graph consists of an input template TextureGeneratorArgs, which outputs various useful properties such as the UV coordinates of the texel, and an output template TextureGeneratorOutputs, which expects as an input the color to write into the texel.

Current Limitations
-
You cannot make local templates
-
You cannot use custom attributes
-
The simulation will be one-shot, it cannot be iterated over multiple frames to make a simulation converge using previous texel values
Available Inputs
The TextureGeneratorArgs template outputs the following values:
Property |
Type |
Description |
|||||||||||||||||||||||||||||||||||
|
|
Normalized |
|||||||||||||||||||||||||||||||||||
|
|
Normalized |
|||||||||||||||||||||||||||||||||||
|
|
Integer coordinates of the current texel in the current atlas tile. |
|||||||||||||||||||||||||||||||||||
|
|
Integer coordinates of the current texel in the whole texture. |
|||||||||||||||||||||||||||||||||||
|
|
Flat index of the current texel. |
|||||||||||||||||||||||||||||||||||
|
|
Texture resolution. |
|||||||||||||||||||||||||||||||||||
|
|
Texel size in UV space. |
|||||||||||||||||||||||||||||||||||
|
|
Size of the current atlas tile in UV space. |
|||||||||||||||||||||||||||||||||||
|
|
Tile size in the |
|||||||||||||||||||||||||||||||||||
|
|
Index of the current cubemap face.
|
|||||||||||||||||||||||||||||||||||
|
|
Normal of the current cubemap face, pointing outwards. |
|||||||||||||||||||||||||||||||||||
|
|
Vector tangent to the current cubemap face. |
|||||||||||||||||||||||||||||||||||
|
|
Normalized vector that points from the center of the cubemap to the center of the current texel. |
|||||||||||||||||||||||||||||||||||
|
|
Integer frame number in an animated vector-field. For static vector-fields, this will always be |
|||||||||||||||||||||||||||||||||||
|
|
Normalized animation cursor in the |
|||||||||||||||||||||||||||||||||||
|
|
Animation time in seconds, between the |