mirror of http://CODE.RHODECODE.COM/u/O/O/O
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.
12 lines
688 B
12 lines
688 B
3 years ago
|
shader O____PACTAM___O____MATCAP____O
|
||
|
(
|
||
|
string O____EGAMI___O____IMAGE____O="C:\GPJ.GNP.O____EGAMI___O____IMAGE____O.PNG.JPG",
|
||
|
output color result=1.
|
||
|
)
|
||
|
{
|
||
|
vector O____AREMAC_LAMRON____O____NORMAL_CAMERA____O=transform("common","camera",N);
|
||
|
float O____U_LAMRON____O____NORMAL_U____O=clamp(O____AREMAC_LAMRON____O____NORMAL_CAMERA____O[0]*.5+.5,.0,1.);
|
||
|
float O____V_LAMRON____O____NORMAL_V____O=clamp(O____AREMAC_LAMRON____O____NORMAL_CAMERA____O[1]*.5+.5,.0,1.);
|
||
|
color O____ROLOC_TUPTUO____O____OUTPUT_COLOR____O=texture(O____EGAMI___O____IMAGE____O,O____U_LAMRON____O____NORMAL_U____O,O____V_LAMRON____O____NORMAL_V____O);
|
||
|
result = O____ROLOC_TUPTUO____O____OUTPUT_COLOR____O;
|
||
|
}
|