Last change
on this file was
65,
checked in by Maciej Komosinski, 14 years ago
|
added sources of the 3D client for the Framsticks server
|
File size:
545 bytes
|
Rev | Line | |
---|
[65] | 1 | #include "res/shaders/lights.cg"
|
---|
| 2 | float4x4 mvp : ModelViewProjection;
|
---|
| 3 | float4x4 mv : ModelView;
|
---|
| 4 | float4x4 mvit : ModelViewIT;
|
---|
| 5 |
|
---|
| 6 |
|
---|
| 7 | sampler2D greenTex <string fileName = "green2.png";> = sampler_state {
|
---|
| 8 | minFilter = Linear;
|
---|
| 9 | magFilter = Linear;
|
---|
| 10 | wrapS = Repeat;
|
---|
| 11 | wrapT = Repeat;
|
---|
| 12 | };
|
---|
| 13 | sampler2D green2Tex<string fileName = "green4.png";> = sampler_state {
|
---|
| 14 | generateMipMap = true;
|
---|
| 15 | minFilter = Linear;
|
---|
| 16 | magFilter = Linear;
|
---|
| 17 | wrapS = Repeat;
|
---|
| 18 | wrapT = Repeat;
|
---|
| 19 | };
|
---|
| 20 |
|
---|
| 21 | technique parts <string target = "both";>
|
---|
| 22 | {
|
---|
| 23 | pass p0
|
---|
| 24 | {
|
---|
| 25 | }
|
---|
| 26 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.