You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returncreateSSAO(properties, SSAOMode.BETTER);//Less then 7gb of dedicated vram create a better instance (mid range dgpus (they can probably do best just fine but just in case)
46
+
if (Capabilities.INSTANCE.canQueryGpuMemory) {
47
+
if (Capabilities.INSTANCE.totalDedicatedMemory < 2_500_000_000L) {
48
+
returncreateSSAO(properties, SSAOMode.BASIC);//Create a basic instance (cant query memory (probably intel igpu or less then 2.5gb vram)
returncreateSSAO(properties, SSAOMode.BETTER);//Less then 7gb of dedicated vram create a better instance (mid range dgpus (they can probably do best just fine but just in case)
51
+
} else {
52
+
returncreateSSAO(properties, SSAOMode.BEST);//create the best ssao
53
+
}
50
54
} else {
51
-
returncreateSSAO(properties, SSAOMode.BEST);//create the best ssao
0 commit comments