A function defined in BBMOD_BaseShader.gml
set_cam_pos([_pos])
Sets a fragment shader uniform BBMOD_U_CAM_POS to the given position.
Name | Type | Description |
---|---|---|
_pos | Struct.BBMOD_Vec3 |
The camera position. If undefined , then the value set by bbmod_camera_set_position is used. |
Struct.BBMOD_Shader
Returns self
.
Please use bbmod_shader_set_cam_pos instead.
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.