提交 b90f614f 编写于 作者: L linbingquan

glsl.js: Clean up

上级 c4dff1c9
export default /* glsl */`
#if defined( DITHERING )
gl_FragColor.rgb = dithering( gl_FragColor.rgb );
gl_FragColor.rgb = dithering( gl_FragColor.rgb );
#endif
`;
export default /* glsl */`
gl_FragColor = linearToOutputTexel( gl_FragColor );
gl_FragColor = linearToOutputTexel( gl_FragColor );
`;
export default /* glsl */`
#if defined( TONE_MAPPING )
gl_FragColor.rgb = toneMapping( gl_FragColor.rgb );
gl_FragColor.rgb = toneMapping( gl_FragColor.rgb );
#endif
`;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册