Jelajahi Sumber

Added a cvar that will enable shadow cascade optimization whereby you can reject octree nodes that dont intersect with camera frustum (#429)

Signed-off-by: moudgils <[email protected]>
moudgils 2 tahun lalu
induk
melakukan
32d3e4f4e9
1 mengubah file dengan 6 tambahan dan 1 penghapusan
  1. 6 1
      Registry/multiplayersample.setreg

+ 6 - 1
Registry/multiplayersample.setreg

@@ -19,10 +19,15 @@
 					"ImageSystemDescriptor": {
 					"ImageSystemDescriptor": {
 						"SystemStreamingImagePoolSize": 0,
 						"SystemStreamingImagePoolSize": 0,
 						"SystemAttachmentImagePoolSize": 0,
 						"SystemAttachmentImagePoolSize": 0,
-                        "SystemStreamingImagePoolMipBias": 1
+						"SystemStreamingImagePoolMipBias": 1
 					}
 					}
 				}
 				}
 			}
 			}
+		},
+		"Autoexec": {
+			"ConsoleCommands": {
+				"r_shadowCascadeExtrusionAmount": 20
+			}
 		}
 		}
 	}
 	}
 }
 }