Skip to content

Commit 78b848b

Browse files
authored
Correctly name and give tooltips for some of the more difficult bumpwater params (#422)
1 parent 305c3b9 commit 78b848b

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

scen_edit/view/map/water_editor.lua

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ function WaterEditor:init()
2222
}),
2323
NumericField({
2424
name = "numTiles",
25-
title = "Ambient:",
26-
tooltip = "How many Tiles does the `normalTexture` have?\nSuch Tiles are used when DynamicWaves are enabled in BumpWater, the more the better.\nCheck the example php script to generate such tiled bumpmaps.",
25+
title = "NumTiles:",
26+
tooltip = "How many (squared) Tiles does the `normalTexture` have?\nSuch Tiles are used when DynamicWaves are enabled in BumpWater, the more the better.\nCheck the example php script to generate such tiled bumpmaps.",
2727
width = 200,
2828
}),
2929
}))
@@ -45,19 +45,19 @@ function WaterEditor:init()
4545
NumericField({
4646
name = "perlinStartFreq",
4747
title = "Start freq:",
48-
tooltip = "Scales the normal texture.",
48+
tooltip = "The initial frequency of the bump map repetetion rate. Larger numbers mean more tiles.",
4949
width = 140,
5050
}),
5151
NumericField({
5252
name = "perlinLacunarity",
5353
title = "Lacunarity:",
54-
tooltip = "Scales the normal texture.",
54+
tooltip = "How much smaller each additional repetion of the normal map should be. Larger numbers mean smaller.",
5555
width = 140,
5656
}),
5757
NumericField({
5858
name = "perlinAmplitude",
5959
title = "Amplitude:",
60-
tooltip = "Scales the normal texture.",
60+
tooltip = "How strong each additional repetetion of the normal map should be",
6161
width = 140,
6262
}),
6363
}))
@@ -73,11 +73,13 @@ function WaterEditor:init()
7373
NumericField({
7474
name = "diffuseFactor",
7575
title = "Factor:",
76+
tooltip = "How strong the diffuse lighting should be on the water",
7677
width = 140,
7778
}),
7879
ColorField({
7980
name = "diffuseColor",
80-
title = "Lacunarity:",
81+
title = "Diffuse Color:",
82+
tooltip = "The color of the diffuse lighting of the water",
8183
width = 140,
8284
format = 'rgb',
8385
}),
@@ -95,16 +97,19 @@ function WaterEditor:init()
9597
NumericField({
9698
name = "specularFactor",
9799
title = "Factor:",
100+
tooltip = "How much light should be reflected straight from the sun",
98101
width = 140,
99102
}),
100103
NumericField({
101104
name = "specularPower",
102105
title = "Power:",
106+
tooltip = "How polished the surface of the water is",
103107
width = 140,
104108
}),
105109
ColorField({
106110
name = "specularColor",
107111
title = "Color:",
112+
tooltip = "The color of the sun reflection from the water",
108113
width = 140,
109114
format = 'rgb',
110115
}),
@@ -181,7 +186,7 @@ function WaterEditor:init()
181186
}),
182187
NumericField({
183188
name = "blurExponent",
184-
title = "Lacunarity:",
189+
title = "Exponent",
185190
width = 140,
186191
tooltip = "How much should the reflection be blurred.",
187192
}),

0 commit comments

Comments
 (0)