z test patch

This commit is contained in:
h4570
2022-08-14 18:05:57 +02:00
parent a9c91db594
commit 15391a81e0
51 changed files with 197 additions and 163 deletions
@@ -14,6 +14,7 @@
#include "../shared/pipeline_lighting_options.hpp"
#include "../shared/pipeline_texture_mapping_type.hpp"
#include "../shared/pipeline_transformation_type.hpp"
#include "../shared/pipeline_z_test.hpp"
#include "./pipeline_frustum_culling.hpp"
namespace Tyra {
@@ -27,6 +28,7 @@ class PipelineOptions {
shadingType = TyraShadingFlat;
textureMappingType = TyraLinear;
transformationType = TyraMVP;
zTestType = PipelineZTest_Standard;
}
~PipelineOptions() {}
@@ -45,6 +47,9 @@ class PipelineOptions {
/** Anti-aliasing */
bool antiAliasingEnabled;
/** Type of z-buffer testing. */
PipelineZTest zTestType;
/** Multiply by model matrix by view-projection or projection matrix */
PipelineTransformationType transformationType;