mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 12:26:59 +01:00
3a04d5adfe
On some hardware, modifying gl_FragColor multiple times can cause large performance drops. This PR writes to a standard temporary variable instead, and copies across to gl_FragColor once only at the end of the fragment shader. This could potentially lead to large gains in performance on affected hardware. |
||
---|---|---|
.. | ||
canvas_shadow.glsl | ||
canvas.glsl | ||
copy.glsl | ||
cube_to_dp.glsl | ||
cubemap_filter.glsl | ||
effect_blur.glsl | ||
lens_distorted.glsl | ||
scene.glsl | ||
SCsub | ||
stdlib.glsl | ||
tonemap.glsl |