There something in threejs ocean technique that is slower than zen-3d inspired code

If you suggest there is an issue then the burden of proof is on you and you have provided nothing of credibility. I am not chasing down examples you want me to run to find this. If you are unwilling to provide simple, easy to understand links to what you want someone to see and make it convenient for people to run then I am unwilling to help.

4 Likes

https://threejs.org/examples/webgl_shaders_ocean.html

https://shawn0326.github.io/zen-3d/examples/#lab_ocean

Also, i would like to say that threejs in many versions ago, messed with sun reflection in water… i can make it like it was before (thatĀ“s also how itĀ“s in zen), disabling tonemap on material… (something like that, i tried one day and got it)

1 Like

There is no perceivable performance difference on my Pixel 3. The three.js example is running at 60 fps.

2 Likes

I’m getting smooth 60fps on both demos too (iPhone 11).

2 Likes

maybe in too fast mobiles it“s good, but the test isn“t just run, but update uniforms (interact with sliders)

take in account more than 70% of mobiles isnĀ“t too fast in cpu… so if thereĀ“s something that makes it slower, it will consume more battery for nothing… so itĀ“s curious to understand wherĀ“s the culprit.

My old Galaxy A70 runs both examples buttery smooth. I don’t see any difference.

1 Like

threejs release 142 is faster and able to handle massive environment, i tried to migrate project to zen3d but crashes.

if i record well, my redmi note 7, dropped fps when interacted with azimuth/inclination

1 Like

also i would like to mention that pmrem version if it’s really faster, it doesn’t even reflects the sun… i will try back to zen in my big project, at least at background, but will try on fore too… maybe im happy that no one listen, because even no one can even See… better for me!

1 Like

its barely noticible on pc or faster mobile, on older mobile zen is smoother and does not lag

  1. 3d scene folks underrates the rationale that world doesn“t uses latest mobiles always (in case of some really big public app, that“s never the case of ordinary apps nowadays)

  2. any heavy performance (in exchange of nothing) will hit on Battery in mobile…

1 Like