openmw/files/shaders/lib/nature/leaves.h.glsl

16 lines
340 B
GLSL

#ifndef OPENMW_LIB_NATURE_LEAVES_H_GLSL
#define OPENMW_LIB_NATURE_LEAVES_H_GLSL
@link "lib/nature/leaves.glsl"
struct LeafParams
{
float mLeafAmplitude;
float mLeafFrequency;
float mTimeOffset;
};
vec4 transformLeafVertex(LeafParams params, vec4 position, vec4 color, vec3 normal);
#endif // OPENMW_LIB_NATURE_LEAVES_H_GLSL