bbmod_shader_set_cam_pos

A function defined in __bbmod_shader_set.gml

bbmod_shader_set_cam_pos(_shader[, _pos])

Description

Sets a fragment shader uniform BBMOD_U_CAM_POS to the given position.

Arguments

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.
Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.