Black Ops III

Target_SetShader

Changes the material of a target. The target must have already been created with target_set()

Example:

Target_SetShader( enemy_chopper, "locked_on_shader" )

Parameters

ParameterSummary
*target entityThe entity that is the target
*materialnameThe shader for the quad drawn over the target

* = mandatory