Browse Source

Clarify t.headset.supersample;

bjorn 1 year ago
parent
commit
e52f73113a
2 changed files with 5 additions and 3 deletions
  1. 1 1
      api/init.lua
  2. 4 2
      api/lovr/callbacks/conf.lua

+ 1 - 1
api/init.lua

@@ -164,7 +164,7 @@ return {
                     {
                       name = "supersample",
                       type = "number",
-                      description = "A scaling factor to apply to the headset texture.  Improves visual quality but reduces performance.  Can also be a boolean."
+                      description = "A scaling factor to apply to the headset texture.  Can be any positive floating point number, which gets multiplied by the default texture resolution.  A value greater than 1 improves visual quality but reduces performance.  Can also be a boolean, where \"true\" means \"2.0\"."
                     },
                     {
                       name = "seated",

+ 4 - 2
api/lovr/callbacks/conf.lua

@@ -158,8 +158,10 @@ return {
               name = 'supersample',
               type = 'number',
               description = [[
-                A scaling factor to apply to the headset texture.  Improves visual quality but
-                reduces performance.  Can also be a boolean.
+                A scaling factor to apply to the headset texture.  Can be any positive floating
+                point number, which gets multiplied by the default texture resolution.  A value
+                greater than 1 improves visual quality but reduces performance.  Can also be a
+                boolean, where "true" means "2.0".
               ]]
             },
             {