0
0
mirror of http://CODE.RHODECODE.COM/u/O/O/O synced 2024-11-23 10:08:37 -05:00
O/𖣠⚪ᗩ∣ↀ∣𒾨⚪𔗢⚪🞋⚪𔗢⚪𒾨∣ↀ∣ᗩ⚪𖣠/𖣠⚪✤ᴥᗩ⚪𔗢⚪🞋⚪𔗢⚪ᗩᴥ✤⚪𖣠/𖣠⚪ᗱᗴᴥᗩᗯ✤ꗳⓄᔓᔕ⚪𔗢⚪🞋⚪𔗢⚪ᔓᔕⓄꗳ✤ᗯᗩᴥᗱᗴ⚪𖣠/𖣠⚪ᕭᕮᗩНߦᗱᗴᙏᕭᕮⓄߦ✤⚪𔗢⚪🞋⚪𔗢⚪✤ߦⓄᕭᕮᙏᗱᗴߦНᗩᕭᕮ⚪𖣠/𖣠⚪ᔓᔕᴥᗱᗴᗝᗩ옷ᔓᔕ⚪𔗢⚪🞋⚪𔗢⚪ᔓᔕ옷ᗩᗝᗱᗴᴥᔓᔕ⚪𖣠/𖣠⚪ᗱᗴᕤᕦᗩᑎᕤᕦИNᗩᙁ𖣓ᕤᕦИNꖴᗝᗩ옷ᔓᔕ𖣓ИNᗱᗴߦⓄ⚪𔗢⚪🞋⚪𔗢⚪ⓄߦᗱᗴИN𖣓ᔓᔕ옷ᗩᗝꖴИNᕤᕦ𖣓ᙁᗩИNᕤᕦᑎᗩᕤᕦᗱᗴ⚪𖣠/LƧO.⠀⠀⠀⠀◯⠀ᴥᗱᗴᗝᗩ옷ᔓᔕ⠀◯⠀ᔓᔕᗱᗴИN✤옷ᕤᕦꖴᴥ⚭⠀◯⠀✤ⓄⓄᴥ⠀◯⠀ᗝᗩᑎ¤⠀◯⠀ᴥᗱᗴᗯⓄߦ⠀◯⠀ᗱᗴ⚭ᑎᑐᑕ⠀◯⠀⠀⠀⠀ⵙ⠀⠀⠀⠀◯⠀ᑐᑕᑎ⚭ᗱᗴ⠀◯⠀ߦⓄᗯᗱᗴᴥ⠀◯⠀¤ᑎᗩᗝ⠀◯⠀ᴥⓄⓄ✤⠀◯⠀⚭ᴥꖴᕤᕦ옷✤ИNᗱᗴᔓᔕ⠀◯⠀ᔓᔕ옷ᗩᗝᗱᗴᴥ⠀◯⠀⠀⠀⠀.OSL
2024-04-19 18:10:14 +00:00

20 lines
732 B
Plaintext

shader O_REDAHS_OITAR_GNICAF_TOOR_DAUQ_REWOP_EBUC_1_MORF_DEREWOL_FO_EGNAR_EULAV_1_SUNIM_IP_GOL_SUNIM_1_O_1_MINUS_LOG_PI_MINUS_1_VALUE_RANGE_OF_LOWERED_FROM_1_CUBE_POWER_QUAD_ROOT_FACING_RATIO_SHADER_O
(
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=log((4.*atan(1.))-1.),
float O_REWOP_O_POWER_O = 3.,
float O_REWOP_TOOR_O_ROOT_POWER_O = 4.,
output float O_REDAHS_O_SHADER_O=0.0
)
{
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(O_REWOP_TOOR_O_ROOT_POWER_O,-1.))
*
(1.-O_SENTHGIRB_O_BRIGHTNES_O)
+1.
-
(1.-O_SENTHGIRB_O_BRIGHTNES_O)
)
;
}