This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:variables [2019/01/02 14:59] – lightwolf | tools:variables [2024/03/12 22:57] (current) – lightwolf | ||
---|---|---|---|
Line 7: | Line 7: | ||
* **Per Frame** \\ Just like with the native Constant nodes, the value will be retrieved once per frame | * **Per Frame** \\ Just like with the native Constant nodes, the value will be retrieved once per frame | ||
* **Interpolated** \\ This will retrieve the value for the current and next frame and interpolate between them in the case of motion blur | * **Interpolated** \\ This will retrieve the value for the current and next frame and interpolate between them in the case of motion blur | ||
- | * **Per Sample** \\ This fully evaluate | + | * **Per Sample** \\ This fully evaluates |
You can use the output of these nodes to, for example, change the position of a texture and have that change in position be motion blurred. | You can use the output of these nodes to, for example, change the position of a texture and have that change in position be motion blurred. | ||
Line 15: | Line 15: | ||
As of Version 2019.01.02, the nodes also have a Time input and a corresponding Time Range control. | As of Version 2019.01.02, the nodes also have a Time input and a corresponding Time Range control. | ||
- | If the Time input is connected, the Time Range control will be available. In this mode, the scalar connected to the Time input will be used directly as a current time when evaluating an enveloped Value of the node. | + | If the Time input is connected, the Time Range control will be available |
The Time Range control determines which range of the envelope is equivalent to a range of 0..1 of the Time input scalar. I.e. if the Time Range is 4.0 (s), in a 30fps scene, then a range of 0..1 on the Time input will be equivalent to 0..120 frames on the envelope. | The Time Range control determines which range of the envelope is equivalent to a range of 0..1 of the Time input scalar. I.e. if the Time Range is 4.0 (s), in a 30fps scene, then a range of 0..1 on the Time input will be equivalent to 0..120 frames on the envelope. | ||
This allows you to use any enveloped value as a gradient, by connecting the Time input to something that would normally drive a gradient. | This allows you to use any enveloped value as a gradient, by connecting the Time input to something that would normally drive a gradient. |