Closed VanderSP closed 1 year ago
I'm not sure if it's the shader's problem, I suggest changing this shader to a simple solid shader to see if the performance improves.
void main() {
gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
}
Okay, i made some tests... is really strange that looks the MIX line are causing a huge drop... but in threejs it doesn´t affect at all, any clue?? what can make MIX command being very slow? i suspect that mix command being heavier brings the performance issue upfront, but maybe in threejs without mix head to head, would be even faster... i feel confused, because i like the fastness of zen3d for skywater for example, is very faster than three to update uniforms (unless using they hacky pmrem that doesn´t reflect things lol)
ah there´s a mess in other part of my code... sorry the disturb...
Hello how have u been? im trying to use shadermaterial to scroll image, in threejs is totally blazing fast... and misteriously im getting very slow scrolling with zen3d even fps marking high, any light?? please thanks in advance!