branchsbox/shader-assets-2cancel
22 Commits over 30 Days - 0.03cph!
Simplify how we load shaders, managed resource types shouldn't handle loading from cached dict at all, just have load method itself
ShaderResource in game code
Forgot this, pass asset name as string for now
Create a managed resource of any inherited type without explicitly assigning it, start moving Shader resource to game code
Mark these as abstract, don't let children methods of GameResource override load, remove Shader from tools
Revert "Remove TryManagedCompile"
This reverts commit a1912f3d31bd1b3b7f1e99e22932103e487337cd.
Managed resource compiles sanely
Add shader asset type and empty resource compiler for it
Allow vfx and hlsl as assets on IgnoreNewPossibleAssetFile
Make HVfx be HShader, start adding shader handle from C# side
Fix perspective on ui shader
Iterate on shaders as assets
Get boilerplate for managed asset compile
Add used shader as material dependency
Don't use error.vfx if we are not on tools mode (Issue 415)
Don't do Shader assets on C++, it's awful
Remove TryManagedCompile
Cleanup GameResource and Resource, let GameResource handle it's loading rather than Asset, let managed core Resourced be created
Get target resource type from asset
Gameresource load doesn't need to be templated, still needs cleanup
Make CustomResource for internal managed resources that use custom decoding
And shader uses CustomResource instead of GameResource
Split GameResource to be a child of CustomResource, remove Shader assettype since it's all managed
Start work for child hlsl include files to recompile parents that use it
Add stub custom load methods for shader
ManagedResource is a better name
Remove MET shader browser, let's make it sexy using asset system and our UI
Make MET use our sexy asset picker
https://i.imgur.com/Mzzmynk.png
Strip extension from file to avoid bullshit, make shaders load from absolute path properly from MET
Make MET hints and shader select button intuitive
https://i.imgur.com/BgHsRKI.png
Revert "Update shaders with perspective, note that it still needs fix on the perspective matrix on c# code"
This reverts commit 4e92c31729138ecdd74ad9ae2d11a6012cfcf97c.
Revert "Fix perspective on ui shader"
This reverts commit 6d087d7abf0752c7a35b0687d7322cbc4b5e2863.
Make MET hints and shader select button intuitive
https://i.imgur.com/BgHsRKI.png
Strip extension from file to avoid bullshit, make shaders load from absolute path properly from MET
Make MET use our sexy asset picker
https://i.imgur.com/Mzzmynk.png
ManagedResource is a better name
Remove MET shader browser, let's make it sexy using asset system and our UI
Add stub custom load methods for shader
Split GameResource to be a child of CustomResource, remove Shader assettype since it's all managed
Start work for child hlsl include files to recompile parents that use it
Get target resource type from asset
Gameresource load doesn't need to be templated, still needs cleanup
Make CustomResource for internal managed resources that use custom decoding
And shader uses CustomResource instead of GameResource
Don't do Shader assets on C++, it's awful
Remove TryManagedCompile
Cleanup GameResource and Resource, let GameResource handle it's loading rather than Asset, let managed core Resourced be created
Don't use error.vfx if we are not on tools mode (Issue 415)
Add used shader as material dependency
Get boilerplate for managed asset compile
Iterate on shaders as assets
Make HVfx be HShader, start adding shader handle from C# side
Fix perspective on ui shader
Update shaders with perspective, note that it still needs fix on the perspective matrix on c# code
Allow vfx and hlsl as assets on IgnoreNewPossibleAssetFile