Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
34 lines
990 B
C++
34 lines
990 B
C++
// Shader_ClassicBumpSpecV.h: interface for the CShader_ClassicBumpSpecV class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_SHADER_CLASSICBUMPSPECV_H__2884A794_2A17_4469_958D_91716C5AD103__INCLUDED_)
|
|
#define AFX_SHADER_CLASSICBUMPSPECV_H__2884A794_2A17_4469_958D_91716C5AD103__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "ShaderScene.h"
|
|
|
|
class CShader_ClassicBumpSpecV : public CVertexShader
|
|
{
|
|
protected:
|
|
float m_fBumpScale;
|
|
|
|
public:
|
|
CShader_ClassicBumpSpecV(int iShaderValue);
|
|
virtual ~CShader_ClassicBumpSpecV();
|
|
|
|
virtual void Apply();
|
|
|
|
virtual int GetVertexStride() const { return 0; }
|
|
virtual DWORD GetVertexFormat() const { return 0; }
|
|
virtual void SetupVertexShaderConstants();
|
|
void SetLightDirection(D3DXVECTOR3 vecDir);
|
|
void SetBumpScale(float fScale) { m_fBumpScale = fScale;}
|
|
|
|
};
|
|
|
|
#endif // !defined(AFX_SHADER_CLASSICBUMPSPECV_H__2884A794_2A17_4469_958D_91716C5AD103__INCLUDED_)
|