Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
524 B

  1. //========== Copyright (c) Valve Corporation, All rights reserved. ==========//
  2. #include "common_ps_fxc.h"
  3. sampler TexSampler : register( s0 );
  4. float g_flBloomAmount : register( c0 );
  5. struct PS_INPUT
  6. {
  7. float2 baseTexCoord : TEXCOORD0; // Base texture coordinate
  8. };
  9. float4_color_return_type main( PS_INPUT i ) : COLOR
  10. {
  11. float4_color_return_type result = g_flBloomAmount * tex2D( TexSampler, i.baseTexCoord );
  12. result.a = 1.0f;
  13. return result; //FinalOutput( result, 0, PIXEL_FOG_TYPE_NONE, TONEMAP_SCALE_NONE );
  14. }