G.RenderStereoscopy
From GMod Wiki
| Function | |
| Syntax |
RenderStereoscopy( Vector ViewOrigin, Vector ViewAngles ) Where is this used? |
| Description: | |
| Used by the "Stereoscopy" Post-processing effect. | |
| Returns: | nil |
| Part of Library: | Global Functions |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.RenderStereoscopy]G.RenderStereoscopy [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | N/A | ||
|---|---|---|---|
| Used on | |||
| Code |
| ||
| Output | N/A |
Additional Notes
- You usually want to use this from the "RenderScene" hook like in the example.
- This doesn't provide much control, and doesn't seem "complete", and this pulls the size directly from the "pp_stereoscopy_size" client convar, you might be better off writing your own effect based off this.
See Also
| This article is a stub. You can help the GMod Wiki by expanding it. |