nxdk_pgraph_tests
A collection of tests for the Xbox nv2a graphics processor
Loading...
Searching...
No Matches
perspective_vertex_shader_no_lighting.h
1
#ifndef NXDK_PGRAPH_TESTS_SRC_SHADERS_PERSPECTIVE_VERTEX_SHADER_NO_LIGHTING_H_
2
#define NXDK_PGRAPH_TESTS_SRC_SHADERS_PERSPECTIVE_VERTEX_SHADER_NO_LIGHTING_H_
3
4
#include "shaders/perspective_vertex_shader.h"
5
7
class
PerspectiveVertexShaderNoLighting
:
public
PBKitPlusPlus::PerspectiveVertexShader {
8
public
:
9
PerspectiveVertexShaderNoLighting
(uint32_t framebuffer_width, uint32_t framebuffer_height,
float
z_min = 0,
10
float
z_max = 0x7FFF,
float
fov_y = M_PI * 0.25f,
float
near = 1.0f,
11
float
far = 10.0f);
12
};
13
14
#endif
// NXDK_PGRAPH_TESTS_SRC_SHADERS_PERSPECTIVE_VERTEX_SHADER_NO_LIGHTING_H_
PerspectiveVertexShaderNoLighting
Simple perspective projection shader with no support for lighting calculations.
Definition
perspective_vertex_shader_no_lighting.h:7
src
shaders
perspective_vertex_shader_no_lighting.h
Generated by
1.9.8