Water Component: Difference between revisions
Jump to navigation
Jump to search
(Initial content) |
mNo edit summary |
||
Line 1: | Line 1: | ||
The Water Component is a [[Rendering | The Water Component is a [[Rendering Components|rendering component]] that creates a plane of low-poly water for use in mods. | ||
The water surface is created from many squares that will move over time to simulate waves. A unique material is placed on the mesh that displays froth and changes color based on the depth of objects beneath the water to simulate the lighting effect water would have on those objects. | The water surface is created from many squares that will move over time to simulate waves. A unique material is placed on the mesh that displays froth and changes color based on the depth of objects beneath the water to simulate the lighting effect water would have on those objects. |
Revision as of 00:13, 25 October 2022
The Water Component is a rendering component that creates a plane of low-poly water for use in mods.
The water surface is created from many squares that will move over time to simulate waves. A unique material is placed on the mesh that displays froth and changes color based on the depth of objects beneath the water to simulate the lighting effect water would have on those objects.
Component Settings
Property | Description |
---|---|
Width | The number of squares on the X axis that make up the water surface. |
Height | The number of squares on the Z axis that make up the water surface. |
Cell Size | The side length of each square that makes up the water surface. |
Deep Color | The color of the water wherever there is nothing submerged close to the surface. |
Shallow Color | The color of the water wherever it is shallow due to objects just below the surface. |
Froth Color | The color of the froth that appears around the edge of the water where it intersects objects. |
Wave Height | The intensity of the simulated waves. There are no units for this value, but larger values lead to taller waves. |
Wave Speed | The frequency of the simulated waves moving up and down. |