File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1049,6 +1049,7 @@ void Graphics::apply_ray_tracing_tweaks() {
1049
1049
static const auto set_RaytracingMode = rt_t ->get_method (" set_RaytracingMode" );
1050
1050
static const auto setBounce = rt_t ->get_method (" setBounce" );
1051
1051
static const auto setSpp = rt_t ->get_method (" setSpp" );
1052
+ static const auto set_enabled = rt_t ->get_method (" set_Enabled" );
1052
1053
1053
1054
bool any_pt = false ;
1054
1055
@@ -1064,6 +1065,10 @@ void Graphics::apply_ray_tracing_tweaks() {
1064
1065
return ;
1065
1066
}
1066
1067
1068
+ if (set_enabled != nullptr ) {
1069
+ set_enabled->call <void >(context, target, true ); // Some games have this disabled.
1070
+ }
1071
+
1067
1072
const auto is_pure_pt = is_pure_pt_type (rt_type);
1068
1073
1069
1074
if (set_RaytracingMode != nullptr && rt_type > 0 ) {
You can’t perform that action at this time.
0 commit comments