Skip to content

Commit

Permalink
Merge pull request #141 from ngokevin/bufferscaledocs
Browse files Browse the repository at this point in the history
update docs for BUFFER_SCALE default value (0.5)
  • Loading branch information
borismus authored Aug 9, 2016
2 parents 004848f + 6e8187b commit ec0a6ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ WebVRConfig = {

// Scales the recommended buffer size reported by WebVR, which can improve
// performance.
BUFFER_SCALE: 0.5, // Default: 1.0.
BUFFER_SCALE: 0.5, // Default: 0.5.

// Allow VRDisplay.submitFrame to change gl bindings, which is more
// efficient if the application code will re-bind its resources on the
Expand All @@ -94,8 +94,8 @@ WebVRConfig = {
## Performance

Performance is critical for VR. If you find your application is too sluggish,
consider tweaking some of the above parameters. In particular, reducing
`BUFFER_SCALE` to 0.5 (from its default 1.0) will likely help a lot.
consider tweaking some of the above parameters. In particular, keeping
`BUFFER_SCALE` at 0.5 (the default) will likely help a lot.

## Development

Expand Down

0 comments on commit ec0a6ac

Please sign in to comment.