( functionName, encoding )
| 28567 | } |
| 28568 | |
| 28569 | function getTexelEncodingFunction( functionName, encoding ) { |
| 28570 | |
| 28571 | var components = getEncodingComponents( encoding ); |
| 28572 | return "vec4 " + functionName + "( vec4 value ) { return LinearTo" + components[ 0 ] + components[ 1 ] + "; }"; |
| 28573 | |
| 28574 | } |
| 28575 | |
| 28576 | function getToneMappingFunction( functionName, toneMapping ) { |
| 28577 |
no test coverage detected