You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, rendering with a lot of shader effects can be slow. Each shader effect has to send the image as a uniform, run the GLSL shader, and then send the new image as a uniform for the next shader. This involves a lot of copying between the CPU and the GPU, which AFAIK can be expensive. I think we should find a way to either run all the effects for a single layer in one pass or avoid transferring the texture between the CPU and the GPU so much.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Right now, rendering with a lot of shader effects can be slow. Each shader effect has to send the image as a uniform, run the GLSL shader, and then send the new image as a uniform for the next shader. This involves a lot of copying between the CPU and the GPU, which AFAIK can be expensive. I think we should find a way to either run all the effects for a single layer in one pass or avoid transferring the texture between the CPU and the GPU so much.
Reference:
vd.effect.Shader
Beta Was this translation helpful? Give feedback.
All reactions