BBMOD_BaseShader.set_cam_pos DEPRECATED

A function defined in BBMOD_BaseShader.gml

set_cam_pos([_pos])

Description

Sets a fragment shader uniform BBMOD_U_CAM_POS 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.

Deprecated

Please use bbmod_shader_set_cam_pos instead.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on January 21, 2024 using GMDoc.