mirror of
http://CODE.RHODECODE.COM/u/O/O/O
synced 2024-11-10 16:43:37 -05:00
18 lines
446 B
Plaintext
18 lines
446 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) )
|
|
)
|
|
|
|
;
|
|
}
|