WebGL 2.0?

Hi Guys, i just want to clarify maybe i missed it in the change log.
is webGL 2.0 already implemented in released 5.4 beta?
or is there any fix for webGL problem with standard shaders in 5.4 beta?
The current webGL problem with standard that i’ve encountered are :

  • Bad quality for mipmapping or roughness reflection
  • Normal map heavily compressed resulting in dotted artifact if using normal map

Maybe there’s other problem that people encountered.

WebGL 2.0 is available in the 5.4 and 5.3 build. Under Player Settings > Other Settings untick Auto Graphics API and add OpenGL ES 3.0 there.

We currently have no active cases regarding the other issues you describe. Could you be so nice to submit a bug report for each and ping the case numbers here? That’d be ace!

There’s bug report already, not mine but same problem with standard shaders.
#747796

Sadly we can’t fix this one ourselves yet :frowning: But we are talking to the browser vendors about it.
It works in WebGL 2.0 but that is not of much help right now.

I see, thanks for the information.
And not sure this information might help, we all know that we can override the standard shader to compile with the highest quality to webGL so we can get good quality for reflection and roughness.
The only thing that we can’t control is the normal map compression since in unity WebGL = OpenGLES 2.0 according to this thread and that make the normal map heavily compressed and blocky.
Now here’s the weird part, if i just build the scene mostly it runs fine also works fine with additive scene bundles, but if the objects are prefab bundle the normal map getting heavily compressed, always happened.

We recently fixed this https://issuetracker.unity3d.com/issues/surface-standard-shader-artifacts-when-loaded-from-asset-bundle with 5.3.2p3 patch release with shader issues in asset bundles. Maybe that is what you are seeing?

Ah alright, i’ll test the latest patch.

@Schubkraft okay it seems the asset bundle normal map compression bug are fixed :slight_smile:

Most excellent! Good luck with your project!

1 Like

Thank you :slight_smile: