set_cam_pos

function

set_cam_pos([_pos])

Description

Sets a fragment shader uniform bbmod_CamPos to the given position.

Arguments

Name Type Description
_pos Struct.BBMOD_Vec3 The camera position. If undefined, then the value set by bbmod_camera_set_position is used.

Returns

Struct.BBMOD_Shader Returns self.

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.