Removed camera downsampling functionality no longer in use. A more advanced postfx and compositor will be implemented instead.
This commit is contained in:
@@ -66,7 +66,6 @@ const char* KRPipeline::KRENGINE_PUSH_CONSTANT_NAMES[] = {
|
||||
"projection_matrix", // PushConstant::projection_matrix
|
||||
"camera_position_model_space", // PushConstant::camerapos_model_space
|
||||
"viewport", // PushConstant::viewport
|
||||
"viewport_downsample", // PushConstant::viewport_downsample
|
||||
"diffuseTexture", // PushConstant::diffusetexture
|
||||
"specularTexture", // PushConstant::speculartexture
|
||||
"reflectionCubeTexture", // PushConstant::reflectioncubetexture
|
||||
@@ -800,10 +799,6 @@ bool KRPipeline::bind(VkCommandBuffer& commandBuffer, KRCamera& camera, const KR
|
||||
);
|
||||
}
|
||||
|
||||
if (hasPushConstant(PushConstant::viewport_downsample)) {
|
||||
setPushConstant(PushConstant::viewport_downsample, camera.getDownsample());
|
||||
}
|
||||
|
||||
// Fog parameters
|
||||
setPushConstant(PushConstant::fog_near, camera.settings.fog_near);
|
||||
setPushConstant(PushConstant::fog_far, camera.settings.fog_far);
|
||||
|
||||
Reference in New Issue
Block a user