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

[Editor] Shader Hot-Reloading doesnt seem to work #88

Closed michaelsakharov closed 5 months ago

michaelsakharov commented 8 months ago

While i havent specifically gone and attempted to implement shader hot reloading, it should kinda already work it just wont dispose of old shaders, but thats another problem alltogather.

The shader should be getting reimported on change and should visually update, but it doesnt seem to work so something is failing in the asset pipeline and it isnt properly reimporting/refreshing the shader across all references.

michaelsakharov commented 5 months ago

Shader HotReloading works now, it seems other assets like Mesh might be getting saved internally rather then holding an asset reference hence why they don't appear to Hot Reload, not too sure about that though need to look into it.