G.DrawBloom

From GMod Wiki

Revision as of 20:30, 13 February 2011 by Disseminate (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax DrawBloom( Float darken, Float multiply, Float sizeX, Float sizeY, Float passes, Float color, Float r, Float g, Float b )
Where is this used?
Description:
Used by the "Bloom" post processing effect.
Returns: nil
Part of Library: Global Functions
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.DrawBloom]G.DrawBloom [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionThis makes everything lovely and sunny!
Used onNewerClient.png
Code
local function ArghItBurns()
	DrawBloom( 0, 0.75, 3, 3, 2, 3, 255, 255, 255 )
end
hook.Add( "RenderScreenspaceEffects", "NoMoreEyesForYou!", ArghItBurns )
 
OutputN/A


Additional Notes

See Also


Color wheel.pngPost Processing

Hook: RenderScreenspaceEffects


Functions:
- DrawBloom -
- DrawColorModify -
- DrawMaterialOverlay -
- DrawMorph -
- DrawMotionBlur -
- DrawSharpen -
- DrawSobel -
- DrawSunBeams -
- DrawToyTown -


For usage of the Sandbox Post Processing menu, see Post Processing Menu.

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox