A function defined in __bbmod_shader_set.gml
bbmod_shader_set_cam_pos(_shader[, _pos])
Sets a fragment shader uniform BBMOD_U_CAM_POS to the given position.
Name | Type | Description |
---|---|---|
_shader | Asset.GMShader |
The shader to set the uniform for. |
_pos | Struct.BBMOD_Vec3 |
The camera position. If undefined , then the value set by bbmod_camera_set_position is used. |
Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.