Difference between revisions of "041D"
Jump to navigation
Jump to search
(Created page with "{{Icon|t}} '''SET_NEAR_CLIP''' <hr /> '''Description''' : Sets the near clip '''Syntax''' : 041D: set_camera_near_clip [''flt''] '''Parameter''' : [''flt''] :: Near clip value...") |
|||
Line 9: | Line 9: | ||
:: Near clip value, default 0.9 | :: Near clip value, default 0.9 | ||
− | This opcode sets the near clip of the camera | + | This opcode sets the near clip of the camera. Anything closer to the camera than the specified value will be clipped by the game as seen in the image below. The effect of this opcode resets to its default value of ''0.9'' anytime a [[cutscene]] clears. Small values close to or at ''0.0'' will cause weird graphical glitches and negative values will clip everything that can be clipped so those value are not recommended. The opcode is generally used during cutscenes but it can be used anytime. |
{| class="wikitable" | {| class="wikitable" |
Latest revision as of 04:24, 27 August 2015
Description
- Sets the near clip
Syntax
- 041D: set_camera_near_clip [flt]
Parameter
- [flt]
- Near clip value, default 0.9
This opcode sets the near clip of the camera. Anything closer to the camera than the specified value will be clipped by the game as seen in the image below. The effect of this opcode resets to its default value of 0.9 anytime a cutscene clears. Small values close to or at 0.0 will cause weird graphical glitches and negative values will clip everything that can be clipped so those value are not recommended. The opcode is generally used during cutscenes but it can be used anytime.
0.9 (default) | 0.1 (used in cutscene) |
---|---|
Keywords
set, camera, near, clip