1 #include "..\include\raMain.h" 10 float raGPUHeightmap::h(
float x,
float z)
14 raVector3 raGPUHeightmap::normal(
float x,
float z)
21 LPCSTR techniqueName, LPCSTR texture,
22 LPCSTR heightmap, LPCSTR heightmapBump)
LPCSTR m_HeightTextureFileName
static raResource & Instance()
HRESULT CreateTextureFromFile(raSmartPointer< raDirectX > dx, raString pSrcFile, ID3D11ShaderResourceView **ppOutputRV, bool bSRGB=false)
ID3D11ShaderResourceView * m_pRVBump
ID3DX11Effect * m_pEffect
ID3DX11EffectShaderResourceVariable * m_ptxBumpMap
ID3D11ShaderResourceView * m_pRVHeight
ID3DX11EffectShaderResourceVariable * m_ptxHeight
raGPUHeightmap(raDirectX *dx, int width, int depth, raMaterial *mat, float tileSize=1.0f)
raGPUHeightmapMaterial(raDirectX *dx, LPCSTR effectFile="raEffects\eightmapEffect.fx", LPCSTR techniqueName="RenderWithHeightMapAndBumpMap", LPCSTR texture="raGrafik\orest Flood.jpg", LPCSTR heightmap="raGrafik\eightmap.dds", LPCSTR heightmapBump="raGrafik\eightmapNormals.dds")
raSmartPointer< raDirectX > m_dx