Commit graph

13 commits

Author SHA1 Message Date
Michaël Lemaire a54c8d5217 Improved clouds lighting 2016-02-01 20:38:29 +01:00
Michaël Lemaire 32c83c1b36 Optimized NoiseFunctionSimplex by inlining
This causes duplicated code, but it should be removed when
NoiseGenerator is not used anymore
2016-01-22 01:27:14 +01:00
Michaël Lemaire bf42b2bab8 Smoothed water LOD in OpenGL 2016-01-12 19:36:25 +01:00
Michaël Lemaire 02a026116d Fixed noise scaling in opengl 2016-01-04 20:26:40 +01:00
Michaël Lemaire 959f0ddf8f Updated NoiseNode to use FractalNoise instead of NoiseGenerator
Also fixed the range returned by NoiseFunctionSimplex (when
used by FractalNoise), and added a test to validate it.
2016-01-03 20:22:06 +01:00
Michaël Lemaire 391f1a7f41 Added FractalNoise value to OpenGLVariable 2015-12-24 01:21:12 +01:00
Michaël Lemaire e9fcd6b2a5 Fixed int/double old-style casts 2015-12-17 01:13:20 +01:00
Michaël Lemaire 88d2a78b70 Enforced coding style using clang-format 2015-11-09 22:30:46 +01:00
Michaël Lemaire 3e72fc7bf8 Replaced NoiseGenerator by NoiseState in WaterDefinition 2014-01-21 21:51:11 +01:00
Michaël Lemaire 49b7055655 [WIP] Use simple normal map for opengl water 2014-01-05 21:52:09 +01:00
Michaël Lemaire c52eeac71d [WIP] Added the simplex sampler to opengl water shader 2014-01-05 20:37:51 +01:00
Michaël Lemaire e61dae6f0a Added NoiseState to maintain the noise offsets in clouds 2013-12-31 15:50:28 +01:00
Michaël Lemaire b5c50d16d4 Made a class of NoiseGenerator 2013-11-03 15:46:39 +01:00
Renamed from src/rendering/noisesimplex.cpp (Browse further)