CapsAdmin

Untitled

Jun 28th, 2012
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.74 KB | None | 0 0
  1. local mat = Material("particle/Particle_Glow_04_Additive")
  2. local size = 400
  3. function chatcinematic.RenderScreenspaceEffects()
  4.     if not chatcinematic.IsActive() then return end
  5.  
  6.     DrawSharpen(1.5, 0.3)
  7.  
  8.  
  9.     DrawColorModify({
  10.         ["$pp_colour_colour"] = 0.8,
  11.         ["$pp_colour_brightness"] = -0.10,
  12.         ["$pp_colour_contrast"] = 0.5,
  13.     })
  14.  
  15.     DrawBloom( 0, 2, 0, 0, 0.15, 0.1, 1, 1, 1 )
  16.  
  17.     cam.Start2D()
  18.         surface.SetMaterial(mat)
  19.         surface.SetDrawColor(150,150,150,5)
  20.         surface.DrawTexturedRect(-size, -size, ScrW()+size*2, ScrH()+size*2)
  21.     cam.End2D()
  22.  
  23.     chatcinematic.DrawLetterBox()
  24.  
  25.     chatcinematic.DrawSubtitles()
  26.  
  27.     --cam.Start2D()
  28.     --  surface.SetDrawColor(120,110,150,10)
  29.     --  surface.DrawRect(0, 0, ScrW(), ScrH())
  30.     --cam.End2D()
  31.  
  32. end
Advertisement
Add Comment
Please, Sign In to add comment