You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Treat material as a generic resource. For example, MaterialComponent has many PBR parameter Get/Set methods or cartoon parameter Get/Set methods. Firstly, we should remove them and use a metadata file definition including Parameters, Textures, Render States...
When using metadata material component, you can get any data by StringHash or StringName. So it is not a problem to write hardcode Get/Set methods. Cleanup codes. But you still need to write specific functions to fill uniform buffer by name as we didn't consider to add FrameGraph feature currently.
About uniform buffer, you can go to design a generic uniform system. For example, uniform buffer by category : mesh, material, light, ... Every specific component may need to maintain its own uniform buffer and consider to be more efficient.
Material can use different VS + FS shaders so Animation VS + PBR FS is possible. And it is better to serialize material type config from memory to disk. And load material define file to memory to present material info.
The text was updated successfully, but these errors were encountered:
Treat material as a generic resource. For example, MaterialComponent has many PBR parameter Get/Set methods or cartoon parameter Get/Set methods. Firstly, we should remove them and use a metadata file definition including Parameters, Textures, Render States...
When using metadata material component, you can get any data by StringHash or StringName. So it is not a problem to write hardcode Get/Set methods. Cleanup codes. But you still need to write specific functions to fill uniform buffer by name as we didn't consider to add FrameGraph feature currently.
About uniform buffer, you can go to design a generic uniform system. For example, uniform buffer by category : mesh, material, light, ... Every specific component may need to maintain its own uniform buffer and consider to be more efficient.
Material can use different VS + FS shaders so Animation VS + PBR FS is possible. And it is better to serialize material type config from memory to disk. And load material define file to memory to present material info.
The text was updated successfully, but these errors were encountered: