ad070909a3
CoverSwitch uses new concept of combining a custom fragment shader with the built-in generic vertex shader. This shader is used to render the reflection plane on top of the reflected windows. The fragment shader uses two uniform colors for front and back and interpolates between them based on the texcoords (which are not used for texture lookup). The reflection plane vertices could be buffered. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
coverswitch-reflection.glsl | ||
coverswitch.cpp | ||
coverswitch.desktop | ||
coverswitch.h | ||
coverswitch_config.cpp | ||
coverswitch_config.desktop | ||
coverswitch_config.h | ||
coverswitch_config.ui |