branchsbox/shader-assets-2cancel

24 Commits over 30 Days - 0.03cph!

Sam
2 Months Ago
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
Sam
2 Months Ago
Forgot this, pass asset name as string for now
Sam
2 Months Ago
Fix some sanity checks
Sam
2 Months Ago
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
Sam
2 Months Ago
Revert "Remove TryManagedCompile" This reverts commit a1912f3d31bd1b3b7f1e99e22932103e487337cd. Managed resource compiles sanely
Sam
2 Months Ago
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
Sam
2 Months Ago
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.
Sam
3 Months Ago
Sam
3 Months Ago
Make MET hints and shader select button intuitive https://i.imgur.com/BgHsRKI.png
Sam
3 Months Ago
Strip extension from file to avoid bullshit, make shaders load from absolute path properly from MET
Sam
3 Months Ago
Make MET use our sexy asset picker https://i.imgur.com/Mzzmynk.png
Sam
3 Months Ago
ManagedResource is a better name Remove MET shader browser, let's make it sexy using asset system and our UI
Sam
3 Months Ago
Add stub custom load methods for shader
Sam
3 Months Ago
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
Sam
3 Months Ago
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
Sam
3 Months Ago
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
Sam
3 Months Ago
Don't use error.vfx if we are not on tools mode (Issue 415)
Sam
3 Months Ago
Add used shader as material dependency
Sam
3 Months Ago
Get boilerplate for managed asset compile
Sam
3 Months Ago
Iterate on shaders as assets
Sam
3 Months Ago
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
Sam
3 Months Ago
Allow vfx and hlsl as assets on IgnoreNewPossibleAssetFile
3 Months Ago
Add shader asset type and empty resource compiler for it
3 Months Ago
Add shader asset type and empty resource compiler for it