#ifndef __CELSHADING__
#define __CELSHADING__

#include "RTEffectsCommon.h"


class CelShading : public RTEffectsCommon 
{
	private:
	
		
		// Cel-shading effect handles		
		D3DXHANDLE m_hDot3CelShadingTechnique;	// Handle on the cel-shading technique

		D3DXHANDLE m_hBacklightEmulation;		// Handle on the backlight emulation boolean
		D3DXHANDLE m_hNbShades;					// Handle on the number of shades to create when using cel-shading

		// Cel-shading effect variables
		bool m_bBacklightemulation;				// Backlight emulation ON/OFF
		FLOAT m_fNbShades;						// The number of shades

	public:

		// Construction / destruction
		CelShading();
		~CelShading(){};	// Nothing to do, RTEffectCommon is working for us :) 

		// Cel-shading effect setup
		void SetupCurrentEffectParameters();
};


#endif