O-/𖣠⚪ᗩ∣ↀ∣𒾨⚪𔗢⚪🞋⚪𔗢⚪𒾨∣ↀ∣ᗩ⚪𖣠/𖣠⚪✤ᴥᗩ⚪𔗢⚪🞋⚪𔗢⚪ᗩᴥ✤⚪𖣠/𖣠⚪ᗱᗴᴥᗩᗯ✤ꗳⓄᔓᔕ⚪𔗢⚪🞋⚪𔗢⚪ᔓᔕⓄꗳ✤ᗯᗩᴥᗱᗴ⚪𖣠/𖣠⚪ЭЄᗩНߦᗱᗴᙏЭЄⓄߦ✤⚪𔗢⚪🞋⚪𔗢⚪✤ߦⓄЭЄᙏᗱᗴߦНᗩЭЄ⚪𖣠/𖣠⚪ᔓᔕᴥᗱᗴᗝᗩ옷ᔓᔕ⚪𔗢⚪🞋⚪𔗢⚪ᔓᔕ옷ᗩᗝᗱᗴᴥᔓᔕ⚪𖣠/𖣠⚪ᗱᗴᕤᕦᗩᑎᕤᕦИNᗩᙁ𖣓ᕤᕦИNꖴᗝᗩ옷ᔓᔕ𖣓ИNᗱᗴߦⓄ⚪𔗢⚪🞋⚪𔗢⚪ⓄߦᗱᗴИN𖣓ᔓᔕ옷ᗩᗝꖴИNᕤᕦ𖣓ᙁᗩИNᕤᕦᑎᗩᕤᕦᗱᗴ⚪𖣠/LƧO.⠀⠀⠀⠀◯⠀ᴥᗱᗴᗝᗩ옷ᔓᔕ⠀◯⠀ᔓᔕᗱᗴИN✤옷ᕤᕦꖴᴥ8⠀◯⠀ꕤ⠀◯⠀ᗱᗴᔓᔕᴥᗱᗴΛИNꖴ⠀◯⠀ᔓᔕᗱᗴИN✤옷ᕤᕦꖴᴥ8⠀◯⠀✤ⓄⓄᴥ⠀◯⠀ᗱᗴ8ᑎᑐᑕ⠀◯⠀ᗱᗴᕤᕦᗩᴥᗱᗴΛᗩ⠀◯⠀⠀⠀⠀ⵙ⠀⠀⠀⠀◯⠀ᗩΛᗱᗴᴥᗩᕤᕦᗱᗴ⠀◯⠀ᑐᑕᑎ8ᗱᗴ⠀◯⠀ᴥⓄⓄ✤⠀◯⠀8ᴥꖴᕤᕦ옷✤ИNᗱᗴᔓᔕ⠀◯⠀ꖴИNΛᗱᗴᴥᔓᔕᗱᗴ⠀◯⠀ꕤ⠀◯⠀8ᴥꖴᕤᕦ옷✤ИNᗱᗴᔓᔕ⠀◯⠀ᔓᔕ옷ᗩᗝᗱᗴᴥ⠀◯⠀⠀⠀⠀.OSL

34 lines
2.9 KiB
Plaintext
Raw Normal View History

2021-05-05 09:21:52 +00:00
<EFBFBD><EFBFBD>shader O_REDAHS_SENTHGIRB_X_ESREVNI_SENTHGIRB_TOOR_EBUC_EGAREVA_O_AVERAGE_CUBE_ROOT_BRIGHTNES_INVERSE_X_BRIGHTNES_SHADER_O
(
float O_REDAHS_TNEIDARG_RAENIL_O_LINEAR_GRADIENT_SHADER_O = (-sqrt(cos(.5*(4.*atan(1.))*( dot(N,I) )))+1.),
float O_REWOP_X_ESREVNI_O_INVERSE_X_POWER_O = 1./3.,
float O_ELACS_X_ESREVNI_O_INVERSE_X_SCALE_O = -6.,
float O_SENTHGIRB_X_ESREVNI_O_INVERSE_X_BRIGHTNES_O = 6.,
2021-05-05 23:55:52 +00:00
float O_SENTHGIRB_TOOR_EBUC_O_CUBE_ROOT_BRIGHTNES_O = 3.375,
2021-05-05 09:21:52 +00:00
output float O_REDAHS_O_SHADER_O = 0.0
)
{
O_REDAHS_O_SHADER_O =
(
(
clamp(pow ( (cos(.5*(4.*atan(1.))*( O_REDAHS_TNEIDARG_RAENIL_O_LINEAR_GRADIENT_SHADER_O-1. ))) , 1. / ( 3. ) ), 0.0 , 1.0 )
*
( (1./O_SENTHGIRB_TOOR_EBUC_O_CUBE_ROOT_BRIGHTNES_O) ) + ( 1.- (1./O_SENTHGIRB_TOOR_EBUC_O_CUBE_ROOT_BRIGHTNES_O) )
)
+
(
(1.-((pow(( 1./ (clamp( ( O_REDAHS_TNEIDARG_RAENIL_O_LINEAR_GRADIENT_SHADER_O -.0)*1. ,0.,1.) + ((sqrt ( pow(2., (O_ELACS_X_ESREVNI_O_INVERSE_X_SCALE_O) ) +1.) -1.)/2.) )/ (((( pow(2., (-O_ELACS_X_ESREVNI_O_INVERSE_X_SCALE_O+2.) ))))) - ((sqrt ( pow(2., (O_ELACS_X_ESREVNI_O_INVERSE_X_SCALE_O) ) +1.) -1.)/2.)),O_REWOP_X_ESREVNI_O_INVERSE_X_POWER_O)/1.)+.0))
*
( (1./O_SENTHGIRB_X_ESREVNI_O_INVERSE_X_BRIGHTNES_O) ) + ( 1.- (1./O_SENTHGIRB_X_ESREVNI_O_INVERSE_X_BRIGHTNES_O) )
)
)
/2.
;
}