mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-09 00:37:27 +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:
parent
cf55a0c423
commit
9d39c14752
@ -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;"
|
||||
|
Loading…
x
Reference in New Issue
Block a user