Jelajahi Sumber

Add instructions about null renderer (#140)

Signed-off-by: Pip Potter <[email protected]>
Pip Potter 3 tahun lalu
induk
melakukan
82d99aa1eb
2 mengubah file dengan 23 tambahan dan 0 penghapusan
  1. 10 0
      README.md
  2. 13 0
      README_LINUX.md

+ 10 - 0
README.md

@@ -106,6 +106,16 @@ A server can be run as follows
 MultiplayerSample.ServerLauncher.exe --console-command-file=server.cfg 
 ```
 
+#### (Optional) Running the Server Headless
+
+If you do not need to see rendered output on your servers, you can reduce resource usage by using the null renderer.
+
+Note: Parameters to use null renderer must be passed on the command line as the console-command-file is parsed after rendering is configured.
+
+```shell
+MultiplayerSample.ServerLauncher.exe --console-command-file=server.cfg -rhi=null -NullRenderer
+```
+
 #### Running the Server in the Editor
 
 By default, launching a local server from the editor during Play Mode is enabled. To disable this behavior, update the `editorsv_enabled` value in the `editor.cfg` file to `false`.

+ 13 - 0
README_LINUX.md

@@ -103,6 +103,7 @@ LoadLevel Levels/SampleBase/SampleBase.spawnable
 
 ### Step 6. Run a Server and a Client
 
+#### Running the Server
 
 A server can be run as follows:
 
@@ -110,7 +111,19 @@ A server can be run as follows:
 > cd ~/git/o3de-multiplayersample/build
 > ./bin/profile/MultiplayerSample.ServerLauncher --console-command-file=server.cfg
 ```
+ 
+#### (Optional) Running the Server Headless
 
+If you do not need to see rendered output on your servers, you can reduce resource usage by using the null renderer.
+
+Note: Parameters to use null renderer must be passed on the commandline as the console-command-file is parsed after rendering is configured.
+
+```shell
+> cd ~/git/o3de-multiplayersample/build
+> ./bin/profile/MultiplayerSample.ServerLauncher --console-command-file=server.cfg -rhi=null -NullRenderer
+```
+
+#### Running the Client
 A client can be run with:
 
 ```shell