Force TAA to be off by default

This commit is contained in:
korenkonder
2024-06-23 12:02:08 +03:00
parent d192d0dcbd
commit cb35795d76
2 changed files with 2 additions and 4 deletions
+2 -2
View File
@@ -377,7 +377,7 @@ namespace rndr {
float_t bottom = -tan_fov + tan_fov * bottom_scale;
float_t top = tan_fov + tan_fov * top_scale;
/*if (taa) {
if (taa) {
float_t offset = taa_texture_selector == 1 ? -0.25f : 0.25f;
float_t left_right_offset = (right - left) * offset / (float_t)render_width[0];
float_t bottom_top_offset = (top - bottom) * offset / (float_t)render_height[0];
@@ -385,7 +385,7 @@ namespace rndr {
right += left_right_offset;
bottom += bottom_top_offset;
top += bottom_top_offset;
}*/
}
mat4_frustrum(left, right, bottom, top, z_near, z_far, mat);
}
-2
View File
@@ -600,9 +600,7 @@ static render_context* render_context_load() {
stru_140EDA5B0.ss_alpha_mask,
stru_140EDA5B0.screen_shot_4x == 1);*/
#if BAKE_PNG || BAKE_VIDEO
rctx_ptr->render_manager->render->set_taa(false);
#endif
objset_info_storage_init(aft_obj_db);
stage_param_data_storage_init();