DylanD Posted September 11, 2018 Share Posted September 11, 2018 Hey everyone, I have a really weird/strange problem, i recently switch from a mac computer to a windows computer and when i play my game all of my boxes (which have my own shadermaterials on them) have lots of black dots all over them, like the static on old tvs,(or ants on the screen as i used to think they were ? ), this only happens on my windows machine, when i open it on my phone everything is fine. Here are some of the specs for what i am using if it helps: chrome: Version 69.0.3497.81 (Official Build) (64-bit) windows: windows 10 home edition (version 1803(OS Build 17134.228)) Heres a playground where i get the same problem https://www.babylonjs-playground.com/#2IFRKC#53 Here is what it looks like on my windows machine: Here is what it looks like on my phone(how it should look) : Any ideas how i could fix this or why it is happening? Quote Link to comment Share on other sites More sharing options...
trevordev Posted September 11, 2018 Share Posted September 11, 2018 It looks like the shader rounding works differently on different hardware so somehow the normals are not equal to exactly 1 or -1, giving it some room for rounding errors worked see: https://www.babylonjs-playground.com/#2IFRKC#55 DylanD 1 Quote Link to comment Share on other sites More sharing options...
DylanD Posted September 13, 2018 Author Share Posted September 13, 2018 On 9/11/2018 at 2:01 PM, trevordev said: It looks like the shader rounding works differently on different hardware so somehow the normals are not equal to exactly 1 or -1, giving it some room for rounding errors worked see: https://www.babylonjs-playground.com/#2IFRKC#55 This worked great thanks @trevordev bghgary and trevordev 2 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.