Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions scen_edit/view/map/water_editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ function WaterEditor:init()
}),
NumericField({
name = "numTiles",
title = "Ambient:",
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.",
title = "NumTiles:",
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.",
width = 200,
}),
}))
Expand All @@ -45,19 +45,19 @@ function WaterEditor:init()
NumericField({
name = "perlinStartFreq",
title = "Start freq:",
tooltip = "Scales the normal texture.",
tooltip = "The initial frequency of the bump map repetetion rate. Larger numbers mean more tiles.",
width = 140,
}),
NumericField({
name = "perlinLacunarity",
title = "Lacunarity:",
tooltip = "Scales the normal texture.",
tooltip = "How much smaller each additional repetion of the normal map should be. Larger numbers mean smaller.",
width = 140,
}),
NumericField({
name = "perlinAmplitude",
title = "Amplitude:",
tooltip = "Scales the normal texture.",
tooltip = "How strong each additional repetetion of the normal map should be",
width = 140,
}),
}))
Expand All @@ -73,11 +73,13 @@ function WaterEditor:init()
NumericField({
name = "diffuseFactor",
title = "Factor:",
tooltip = "How strong the diffuse lighting should be on the water",
width = 140,
}),
ColorField({
name = "diffuseColor",
title = "Lacunarity:",
title = "Diffuse Color:",
tooltip = "The color of the diffuse lighting of the water",
width = 140,
format = 'rgb',
}),
Expand All @@ -95,16 +97,19 @@ function WaterEditor:init()
NumericField({
name = "specularFactor",
title = "Factor:",
tooltip = "How much light should be reflected straight from the sun",
width = 140,
}),
NumericField({
name = "specularPower",
title = "Power:",
tooltip = "How polished the surface of the water is",
width = 140,
}),
ColorField({
name = "specularColor",
title = "Color:",
tooltip = "The color of the sun reflection from the water",
width = 140,
format = 'rgb',
}),
Expand Down Expand Up @@ -181,7 +186,7 @@ function WaterEditor:init()
}),
NumericField({
name = "blurExponent",
title = "Lacunarity:",
title = "Exponent",
width = 140,
tooltip = "How much should the reflection be blurred.",
}),
Expand Down