generated from karl/cpp-template
29 lines
458 B
C
29 lines
458 B
C
|
#pragma once
|
||
|
|
||
|
#include "Camera.h"
|
||
|
#include "Framebuffer3D.h"
|
||
|
#include "Shader.h"
|
||
|
#include "Texture.h"
|
||
|
#include "VertexBuffer.h"
|
||
|
|
||
|
class BumpMapDemo {
|
||
|
public:
|
||
|
BumpMapDemo();
|
||
|
|
||
|
void render(float delta);
|
||
|
|
||
|
private:
|
||
|
unsigned int step_count;
|
||
|
unsigned int refinement_step_count;
|
||
|
float height_scale;
|
||
|
|
||
|
Shader render_shader;
|
||
|
|
||
|
VertexBuffer vertex_rectangle;
|
||
|
|
||
|
Camera camera;
|
||
|
|
||
|
Texture albedo;
|
||
|
Texture bump;
|
||
|
Texture normal;
|
||
|
};
|