Posted July 13, 2021 by MakhamDev
#tutorial #nodes
Convert greyscale height map into normal map for lighting.
Inputs | Type | Description |
---|---|---|
Surface in | Surface | Image input. |
Height | Float | Max height of the height map. |
Outputs | Type | Description |
---|---|---|
Surface out | Surface | Image output. |
Apply lighting effect using normal map.
Inputs | Type | Description |
---|---|---|
Surface in | Surface | Image input. |
Normal map | Surface | Normal map for light calculation. |
Normal intensity | Float | Normal map strength. |
Ambient | Color | Background color when no light. |
Light type | Int | Type of light. - Point - Sun |
Light position | Float[3] | Position of the light. |
Light range | Float | Size of the light. |
Light intensity | Float | Brightness. |
Light color | Color | Color of the light. |
Outputs | Type | Description |
---|---|---|
Surface out | Surface | Image output. |
Create 3D effect using sprite stack technique.
Inputs | Type | Description |
---|---|---|
Surface in | Surface | Image input. |
Dimension | Int[2] | Output size. |
Stack amount | Int | How many sprites. |
Stack shift | Int[2] | How far each sprite in the stack shift. |
Position | Int[2] | Position of the stack. |
Rotation | Int | Angle of the sprite. |
Outputs | Type | Description |
---|---|---|
Surface out | Surface | Image output. |