This commit is contained in:
parent
127950ea84
commit
153ccbc698
|
@ -0,0 +1,12 @@
|
||||||
|
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;
|
||||||
|
}
|
|
@ -2,13 +2,14 @@ shader O_52656_0_57864084_91_O_19_48046875_0_65625_O
|
||||||
(
|
(
|
||||||
float O_REDAHS_TNEIDARG_LAIDAR_RAENIL_O_LINEAR_RADIAL_GRADIENT_SHADER_O=(1.-sqrt(1.-pow(dot(N,I),2.))),
|
float O_REDAHS_TNEIDARG_LAIDAR_RAENIL_O_LINEAR_RADIAL_GRADIENT_SHADER_O=(1.-sqrt(1.-pow(dot(N,I),2.))),
|
||||||
float O_SENTHGIRB_O_BRIGHTNES_O=.65625,
|
float O_SENTHGIRB_O_BRIGHTNES_O=.65625,
|
||||||
float O_REWOP_O_POWER_O=19.48046875/2.,
|
float O_REWOP_O_POWER_O=2.,
|
||||||
|
float O_REWOP_TOOR_O_ROOT_POWER_O=19.48046875/2.,
|
||||||
output float O_REDAHS_O_SHADER_O=.0
|
output float O_REDAHS_O_SHADER_O=.0
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
O_REDAHS_O_SHADER_O=
|
O_REDAHS_O_SHADER_O=
|
||||||
(
|
(
|
||||||
pow((1.-pow(-(O_REDAHS_TNEIDARG_LAIDAR_RAENIL_O_LINEAR_RADIAL_GRADIENT_SHADER_O-1.),O_REWOP_O_POWER_O)),pow(2.,-1.))
|
pow((1.-pow(-(O_REDAHS_TNEIDARG_LAIDAR_RAENIL_O_LINEAR_RADIAL_GRADIENT_SHADER_O-1.),O_REWOP_O_POWER_O)),pow(O_REWOP_TOOR_O_ROOT_POWER_O,-1.))
|
||||||
*
|
*
|
||||||
(1.-O_SENTHGIRB_O_BRIGHTNES_O)
|
(1.-O_SENTHGIRB_O_BRIGHTNES_O)
|
||||||
+1.
|
+1.
|
||||||
|
|
Loading…
Reference in New Issue