17 lines
884 B
Plaintext
17 lines
884 B
Plaintext
shader O_REDAHS_EDOC_RETROHS_SENTHGIRB_TOOR_EBUC_O_CUBE_ROOT_BRIGHTNES_SHORTER_CODE_SHADER_O
|
|
(
|
|
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 =
|
|
|
|
(
|
|
pow ( dot(N,I) , 1. / ( 1.5 ) )
|
|
*
|
|
((1./O_SENTHGIRB_TOOR_EBUC_O_CUBE_ROOT_BRIGHTNES_O) ) + ( 1.- (1./O_SENTHGIRB_TOOR_EBUC_O_CUBE_ROOT_BRIGHTNES_O) )
|
|
)
|
|
|
|
;
|
|
} |