O-/◯ᗩIᗝI⚭◯⚪◯⚭IᗝIᗩ◯ⵙ◯ᗩIᗝI⚭◯⚪◯⚭IᗝIᗩ◯/◯✤ᴥᗩ◯ⵙ◯ᗩᴥ✤◯/◯ᗱᗴᴥᗩᗯ✤⏀Ⓞᔓᔕ◯ⵙ◯ᔓᔕⓄ⏀✤ᗯᗩᴥᗱᗴ◯/◯ᗝⵈ◯ⵙ◯ⵈᗝ◯/◯ᔓᔕᴥᗱᗴᗝᗩ옷ᔓᔕ◯⚪◯ᔓᔕ옷ᗩᗝᗱᗴᴥᔓᔕ◯ⵙ◯ᔓᔕᴥᗱᗴᗝᗩ옷ᔓᔕ◯⚪◯ᔓᔕ옷ᗩᗝᗱᗴᴥᔓᔕ◯/◯ᗱᗴᕤᕦᗩᑎᕤᕦИNᗩᙁ◯ᕤᕦИNꖴᗝᗩ옷ᔓᔕ◯ИNᗱᗴߦⓄ◯ⵙ◯ⓄߦᗱᗴИN◯ᔓᔕ옷ᗩᗝꖴИNᕤᕦ◯ᙁᗩИNᕤᕦᑎᗩᕤᕦᗱᗴ◯/LƧO.⠀⠀⠀⠀◯⠀ᴥᗱᗴᗝᗩ옷ᔓᔕ⠀◯⠀ᔓᔕᗱᗴИN✤옷ᕤᕦꖴᴥ8⠀◯⠀✤ⓄⓄᴥ⠀◯⠀ᗱᗴ8ᑎᑐᑕ⠀◯⠀⠀⠀⠀⚪⠀⠀⠀⠀◯⠀ᑐᑕᑎ8ᗱᗴ⠀◯⠀ᴥⓄⓄ✤⠀◯⠀8ᴥꖴᕤᕦ옷✤ИNᗱᗴᔓᔕ⠀◯⠀ᔓᔕ옷ᗩᗝᗱᗴᴥ⠀◯⠀⠀⠀⠀ⵙ⠀⠀⠀⠀◯⠀ᴥᗱᗴᗝᗩ옷ᔓᔕ⠀◯⠀ᔓᔕᗱᗴИN✤옷ᕤᕦꖴᴥ8⠀◯⠀✤ⓄⓄᴥ⠀◯⠀ᗱᗴ8ᑎᑐᑕ⠀◯⠀⠀⠀⠀⚪⠀⠀⠀⠀◯⠀ᑐᑕᑎ8ᗱᗴ⠀◯⠀ᴥⓄⓄ✤⠀◯⠀8ᴥꖴᕤᕦ옷✤ИNᗱᗴᔓᔕ⠀◯⠀ᔓᔕ옷ᗩᗝᗱᗴᴥ⠀◯⠀⠀⠀⠀.OSL
2021-05-03 20:52:58 +03:00

18 lines
1.3 KiB
Plaintext

shader O_REDAHS_SENTHGIRB_TOOR_EBUC_O_CUBE_ROOT_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_SENTHGIRB_TOOR_EBUC_O_CUBE_ROOT_BRIGHTNES_O = 4.5,
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) )
)
;
}