From 99d4758c33b3c711e0ab252fff00b52e6c6f8252 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Sat, 10 Aug 2019 23:10:46 +0100 Subject: Add water effect shader --- src/main/kotlin/WaterParams.kt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/main/kotlin/WaterParams.kt (limited to 'src/main/kotlin/WaterParams.kt') diff --git a/src/main/kotlin/WaterParams.kt b/src/main/kotlin/WaterParams.kt new file mode 100644 index 0000000..61cb2a0 --- /dev/null +++ b/src/main/kotlin/WaterParams.kt @@ -0,0 +1,12 @@ +import info.laht.threekt.math.Color +import info.laht.threekt.math.Vector3 +import info.laht.threekt.textures.Texture + +data class WaterParams( + val waterNormals: Texture, + val alpha: Double, + val sunDirection: Vector3, + val sunColor: Color, + val waterColor: Color, + val distortionScale: Double +) \ No newline at end of file -- cgit v1.2.3