
#ifndef TSH_RAIN_H_INCLUDED
#define	TSH_RAIN_H_INCLUDED

/*
OBJET       effet de gouttes d'eau (pluie) sur une surface

DATE        08/2024

AUTEUR      philippe Thebaud

COMMENTAIRE
*/

#include "../ECO/shader/OShader.h"



class Tsh_rain : public OShader
{
public:

    Tsh_rain();

    bool        create();

    void        setVP(const OMat4& vp);
    void        setModel(const OMat4& model);
    void        setTexture(uint32_t texture);
    void        setTime(float value);
    void        setTurbidity(float value);
    void        setAmbient(float value);
private:

    uint32_t    m_vp, m_model;
    uint32_t    m_multi;
    uint32_t    m_colorMap;
    uint32_t    m_time;
    uint32_t    m_turbidity;
    uint32_t    m_ambient;

};

#endif

