home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2006 April
/
Gamestar_83_2006-04_dvd.iso
/
Dema
/
demowot_english.exe
/
InfDX
/
Shaders
/
ratmosphereadd-deferred-transparent-pixel.hlsl
< prev
next >
Wrap
Text File
|
2005-05-02
|
706b
|
27 lines
//***************************************************************************
// Author: Laszlo Rimoczi (Rimo)
// Purpose: RAtmosphereAdd.mat
//
// Copyright (C) 2005 by Digital Reality Inc.
// All rights reserved.
//
// This source may not be distributed and/or modified without
// expressly written permission by Digital Reality Inc.
//***************************************************************************
struct VS_OUTPUT
{
float2 cUV: TEXCOORD0;
float4 cColor: COLOR0;
};
sampler pDiffuse: register(s0);
float4 main(VS_OUTPUT i_sIn): COLOR
{
float4 cColor = i_sIn.cColor * tex2D(pDiffuse, i_sIn.cUV);
// cColor.rgb *= cColor.aaa;
return cColor;
}