Target_SetOffscreenShader( <target entity>, <materialname> )

Module: Objective
SP Only


Sets the material that is used when a target clamps to the edge of the screen. The target must have already been created with target_set()


Target_SetOffscreenShader( enemy_chopper, "arrow" );

Required Args:

  • 1 : <target entity> The entity that is the target
  • 2 : <materialname> The shader for the quad drawn over the target