mirror of http://CODE.RHODECODE.COM/u/O/O/O
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
884 B
17 lines
884 B
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) ) |
|
) |
|
|
|
; |
|
} |