Hersir Posted August 21, 2017 Share Posted August 21, 2017 Hi, found issue with normal map on some android devices. PG. It gets corrupted and looks like it is related to light, as changing the light type, changes artefact types. Device: Galaxy S5 mini OS: Android 4.4.2 Browser: Chrome 50.0.2661.89 Webgl: {vendor: "ARM", renderer: "Mali-400 MP", version: "WebGL 1.0 (OpenGL ES 2.0 Chromium)"} Quote Link to comment Share on other sites More sharing options...
javalang Posted August 21, 2017 Share Posted August 21, 2017 not knowing the answer, but for interest, what happens if the level is set near to zero (bumpMaterial.bumpTexture.level=0.001;)? Quote Link to comment Share on other sites More sharing options...
Hersir Posted August 21, 2017 Author Share Posted August 21, 2017 By adding level=0.001 , at the beginning ball looks ok (without bump applied), but after zoom in to ball, same artefacts start to show up Quote Link to comment Share on other sites More sharing options...
V!nc3r Posted August 21, 2017 Share Posted August 21, 2017 In the playground it is BJS 3.1-alpha, do you have try with 3.0 stable ? Quote Link to comment Share on other sites More sharing options...
Hersir Posted August 21, 2017 Author Share Posted August 21, 2017 @V!nc3r 3.0 have the same result and in 2.5 bump is not applied at all. Quote Link to comment Share on other sites More sharing options...
V!nc3r Posted August 21, 2017 Share Posted August 21, 2017 FYI, I just try with a Samsung Galaxy Tab S - Android 6.0.1, normal map works fine. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 21, 2017 Share Posted August 21, 2017 Bump maps rely on a webgl extension (standard derivatives) to compute tangents. you can check if the extension is supported with engine.getCaps().standardDerivatives This extension is pretty well supported: https://webglstats.com/webgl/extension/OES_standard_derivatives V!nc3r 1 Quote Link to comment Share on other sites More sharing options...
Hersir Posted August 22, 2017 Author Share Posted August 22, 2017 This extension is available, but looks like that it was broken on driver level, I will close this issue for now, and remove bump maps for this particular gpu. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 22, 2017 Share Posted August 22, 2017 Sorry about that. That's a pity but we have no great way to avoid it Quote Link to comment Share on other sites More sharing options...
Hersir Posted August 23, 2017 Author Share Posted August 23, 2017 Thats ok , right now I just removed bump map for that gpu, chrome combination, it anyway quit old device, GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.