From ZDoom Wiki
Jump to navigation Jump to search

A_SetRenderStyle(float alpha, int style)


Sets the alpha and render style of the actor.

This function is a replacement for A_SetTranslucent.


  • alpha: The alpha value to set, in the range of 0 to 1.0.
  • style: The render style to set, which can be one of the following:
    • STYLE_None
    • STYLE_Normal
    • STYLE_Fuzzy
    • STYLE_SoulTrans
    • STYLE_OptFuzzy
    • STYLE_Stencil
    • STYLE_Translucent
    • STYLE_Add
    • STYLE_Shaded
    • STYLE_TranslucentStencil
    • STYLE_Shadow
    • STYLE_Subtract
    • STYLE_AddStencil
    • STYLE_AddShaded

For information on these styles see here.


Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.