Attributes for Rain parameters
- Last UpdatedApr 07, 2023
- 1 minute read
This topic describes attributes for Configuring Parameters for Rain.
Texture parameter
This is an example for texture.
<texture name="rain_streak.png"/>
|
Attribute |
Type |
Description |
|---|---|---|
|
name |
STRING |
The texture file name. Only the Red channel of the texture is used. |
heightMap parameter
You can specify a real-time HeightMap or a pre-baked HeightMap.
Realtime HeightMap attributes
This is an example for HeightMap
<heightMap type="Realtime" name="RainHM"/>
|
Attribute |
Type |
Description |
|---|---|---|
|
type |
STRING |
The HeightMap type. Must be Realtime. |
|
name |
STRING |
The Realtime HeightMap dummy name. |
Baked HeightMap attributes
This is an example for BakedHeight
<heightMap type="Baked" filePath="RainHM.xml"/>
|
Attribute |
Type |
Description |
|---|---|---|
|
type |
STRING |
The HeightMap type. Must be Baked. |
|
filePath |
STRING |
The Baked HeightMap full file path. Only the Red channel of the texture is used. |