A custom viewport shader makes the app laggy on macOS

   2253   0   1
User Avatar
Member
13 posts
Joined: May 2014
Offline
I've recently switched my envrionment from Win10 to macOS Big Sur, and noticed that Scene Viewer looks too laggy when I applied materials with a custom viewport shader to geometries on a scene.

I tried to figure out what becomes bottleneck, but even if I used the built-in glsl code that we can see on the Code tab of the default GLSL Shader asset, it somehow makes the viewport very slow in proportion to vertice counts of the geometry.

Does anyone know how to handle to this issue? ...or is it a known bug on mac?

Attachments:
viewport_shader.zip (88.3 KB)
Screen Shot 2021-01-19 at 13.28.19.png (129.3 KB)

  • Quick Links