1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-06 01:28:57 +00:00

Nothing of substance different; main current mystery: why do old frames recur and why does other jumpiness occur? Do I need some explicit synchronistion?

This commit is contained in:
Thomas Harte 2016-04-18 22:18:03 -04:00
parent cf55a0c423
commit 9d39c14752

View File

@ -364,7 +364,7 @@ char *OpenGLOutputBuilder::get_input_vertex_shader()
"{"
"ivec2 textureSize = textureSize(texID, 0);"
"iInputPositionVarying = inputPosition;"
"inputPositionVarying = vec2(inputPosition.x / textureSize.x, (inputPosition.y + 0.5) / textureSize.y);"
"inputPositionVarying = inputPosition / vec2(textureSize);" // + 0.5
"phaseVarying = (phaseCyclesPerTick * phaseTime + phaseAmplitudeAndAlpha.x) * 2.0 * 3.141592654;"
"alphaVarying = phaseAmplitudeAndAlpha.z;"