FlaxEngine icon indicating copy to clipboard operation
FlaxEngine copied to clipboard

[Performance] Material Editor is slow on large materials

Open Myterian opened this issue 1 year ago • 5 comments

Issue description: I have this complex material, with a lot of functionality enabled. By now every change I want to make, from rewiring noodles to creating new nodes to generaly making changes, takes up to 5 seconds to perform. Same goes for saving time.

Screenshot for reference grafik

Steps to reproduce:

Minimal reproduction project: Basic

Flax version: 1.8.6511.1

Myterian avatar May 16 '24 19:05 Myterian

Can send a project to use as example?

MrCapy0 avatar May 16 '24 20:05 MrCapy0

I can send a test project with the material. Here or discord?

Myterian avatar May 16 '24 20:05 Myterian

you can send here

tecnessino avatar May 16 '24 20:05 tecnessino

TestingGround.zip Small project I made for sending. It's not the game I'm working on, so textures are missing. But the performance issue is still there

Myterian avatar May 16 '24 20:05 Myterian

Forward Lighting shader compilation takes ~1s which is pretty long. DIsabling GI/SSR/Tess/.. reduces this time a lot. I'll try to dig down how we could improve it in general for this asset.

image

mafiesto4 avatar May 20 '24 12:05 mafiesto4