15#include "../AnimatedMaterial.h"
16#include "../../../Utils/Signals/FunctionGenerator.h"
17#include "../Static/GradientMaterial.h"
18#include "../Static/SimplexNoise.h"
Base class for dynamically updating materials.
A dynamic simplex noise gradient material for a flowing effect.
FunctionGenerator fGenMatGradientX
Function for x-axis modulation.
FunctionGenerator fGenMatGradientZ
Function for z-axis modulation.
Material * GetMaterial()
Retrieves the associated material.
float simplexNoiseDepth
Depth parameter for simplex noise.
FlowNoise()
Default constructor for FlowNoise.
RGBColor GetRGB(const Vector3D &position, const Vector3D &normal, const Vector3D &uvw) override
Computes the color at a given position using simplex noise.
FunctionGenerator fGenMatGradientY
Function for y-axis modulation.
RGBColor noiseSpectrum[2]
Gradient colors for the noise material.
void SetGradient(RGBColor color, uint8_t colorIndex)
Sets a specific gradient color.
GradientMaterial< 2 > gNoiseMat
Gradient material for simplex noise.
void Update(float ratio)
Updates the material's state based on the provided time ratio.
SimplexNoise< 2 > sNoise
Simplex noise generator.
FunctionGenerator fGenMatGradientP
Function for gradient property modulation.
A class to generate various waveform functions with customizable parameters.
Creates a customizable gradient material for rendering.
Abstract base class for rendering materials.
Represents an RGB color and provides methods for manipulation.
A material class for rendering Simplex Noise.
Represents a 3D vector (X, Y, Z) and provides methods for vector arithmetic.