ProwlEngine / Prowl

An Open Source C# 3D Game Engine under MIT license, inspired by Unity and featuring a complete editor and built on Silk.NET
MIT License
360 stars 30 forks source link

[Engine] Cache & Re-use Compiled Shaders #63

Closed michaelsakharov closed 9 months ago

michaelsakharov commented 9 months ago

Materials always compile whatever shader they need, even if we have already compiled it 20 times and using all 20 :(

Need to Cache and Re-use them

michaelsakharov commented 9 months ago

Caching was implemented ages ago, i think i forgot when creating this issue.