Last change
on this file since 5156 was
5035,
checked in by rgrieder, 17 years ago
|
- some more files to avoid ogre exception when using all the plugins
|
File size:
394 bytes
|
Rev | Line | |
---|
[5035] | 1 | void morningskybox_fp ( |
---|
| 2 | float2 uv : TEXCOORD0, |
---|
| 3 | out float4 colour : COLOR, |
---|
| 4 | |
---|
| 5 | uniform sampler2D tex : register(s0) ) |
---|
| 6 | { |
---|
| 7 | colour = tex2D(tex, uv); |
---|
| 8 | |
---|
| 9 | // blow out the light a bit |
---|
| 10 | colour *= 1.7; |
---|
| 11 | } |
---|
| 12 | void morningcubemap_fp ( |
---|
| 13 | float3 uv : TEXCOORD0, |
---|
| 14 | out float4 colour : COLOR, |
---|
| 15 | |
---|
| 16 | uniform samplerCUBE tex : register(s0) ) |
---|
| 17 | { |
---|
| 18 | colour = texCUBE(tex, uv); |
---|
| 19 | |
---|
| 20 | // blow out the light a bit |
---|
| 21 | colour *= 1.7; |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.