Last change
on this file since 9707 was
7708,
checked in by dafrick, 14 years ago
|
Merging cleanup branch. You will need to update your data repository as well as your local copy of the code.
|
-
Property svn:eol-style set to
native
|
File size:
233 bytes
|
Line | |
---|
1 | sampler RT : register(s0); |
---|
2 | sampler NormalMap : register(s1); |
---|
3 | |
---|
4 | float4 main_ps(float2 iTexCoord : TEXCOORD0) : COLOR |
---|
5 | { |
---|
6 | float4 normal = 2 * (tex2D(NormalMap, iTexCoord * 2.5) - 0.5); |
---|
7 | |
---|
8 | return tex2D(RT, iTexCoord + normal.xy * 0.05); |
---|
9 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.