Giter Club home page Giter Club logo

cafe-shader-studio's People

Contributors

killzxgaming avatar s41l0r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cafe-shader-studio's Issues

Instantly closes

When I try opening it, it instantly closes. I tried unblocking the zip before extracting as well. GPU is NVIDIA GeForce GTX 1050.

NSMBU Models showing rotated mesh outline.

I recently upgraded my CPU and while a lot of your tools stayed functional. Cafe Shader Studio now has a issue where I import models from NSMBU, it shows various bounding boxes that define the size of the various meshes on the model, but rotated 90 degrees.
image

However, most other view modes look fine with the addition of said bounding boxes noted above.
image
image

Also 'Lighting' and 'Diffuse' show black results.

Possible Hardcoded Directory for One or More Libraries

When attempting to export 3D models from Splatoon 2 or Mario Kart 8, Shader Studio crashes because it is unable to locate one or more libraries (specifically it is trying to reference Model.cs module at C:\Users\Nathan\Documents\GitHub\GLEngine\BfresLibrary\BfresLibrary\Shared\Models\ as well as a projects directory located at the base of the C drive (C:\projects\cafe-shader-studio)

Crash Log:


FragmentShaderArb:
0(117) : warning C7533: global variable gl_FragColor is deprecated after version 120

VertexShader:

FragmentShaderArb:
0(117) : warning C7533: global variable gl_FragColor is deprecated after version 120

VertexShader:

FragmentShaderArb:
0(117) : warning C7533: global variable gl_FragColor is deprecated after version 120

VertexShader:

FragmentShaderArb:
0(117) : warning C7533: global variable gl_FragColor is deprecated after version 120

VertexShader:

FragmentShaderArb:
0(40) : warning C7533: global variable gl_FragColor is deprecated after version 120

VertexShader:

FragmentShaderArb:

FragmentShaderArb:

VertexShader:

FragmentShaderArb:

VertexShader:

VertexShader:

FragmentShaderArb:

Resized dear imgui vertex buffer to new size 41680
Resized dear imgui index buffer to new size 6252
compressionFormat Yaz0
Reloading Shader Program Jnt_Body__m_Body
program 5
program 6
program 7
program 8
program 9
Reloading Shader Program Jnt_Body__m_Light
program 0
program 1
program 2
program 3
program 4
Reloading Shader Program Jnt_PartsL__m_Body
program 5
program 6
program 7
program 8
program 9
Reloading Shader Program Jnt_PartsR__m_Body
program 5
program 6
program 7
program 8
program 9
VertexShader:

FragmentShaderArb:

FragmentShaderArb:

VertexShader:

depth 6
format BC1_SRGB 8 4 4 blockHeight 16 BlockHeightLog2 4 ImageData 953856
size 524288
format BC1_SRGB 8 4 4 blockHeight 16 BlockHeightLog2 4 ImageData 953856
size 524288
format BC5_SNORM 16 4 4 blockHeight 16 BlockHeightLog2 4 ImageData 1415168
size 589824
format BC1_SRGB 8 4 4 blockHeight 16 BlockHeightLog2 4 ImageData 718848
size 294912
format BC4_UNORM 8 4 4 blockHeight 2 BlockHeightLog2 1 ImageData 15872
size 2048
format BC4_UNORM 8 4 4 blockHeight 8 BlockHeightLog2 3 ImageData 66560
size 27720
FragmentShaderArb:

VertexShader:

VertexShader:

FragmentShaderArb:

Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at BfresLibrary.Core.ResFileSaver.ExportSection(String fileName, IResData resData, ResFile resFile) in C:\Users\Nathan\Documents\GitHub\GLEngine\BfresLibrary\BfresLibrary\Shared\Core\ResFileSaver.cs:line 75
   at BfresLibrary.Model.Export(String FileName, ResFile ResFile) in C:\Users\Nathan\Documents\GitHub\GLEngine\BfresLibrary\BfresLibrary\Shared\Models\Model.cs:line 104
   at BfresEditor.FMDL.Export(String fileName) in C:\projects\cafe-shader-studio\BfresEditor\Bfres\Wrappers\FMDL.cs:line 85
   at CafeStudio.UI.Outliner.SetupRightClickMenu(NodeBase node) in C:\projects\cafe-shader-studio\CafeStudio.UI\Windows\Outliner.cs:line 546
   at CafeStudio.UI.Outliner.DrawNode(NodeBase node, Single itemHeight) in C:\projects\cafe-shader-studio\CafeStudio.UI\Windows\Outliner.cs:line 283
   at CafeStudio.UI.Outliner.DrawNode(NodeBase node, Single itemHeight) in C:\projects\cafe-shader-studio\CafeStudio.UI\Windows\Outliner.cs:line 483
   at CafeStudio.UI.Outliner.DrawNode(NodeBase node, Single itemHeight) in C:\projects\cafe-shader-studio\CafeStudio.UI\Windows\Outliner.cs:line 483
   at CafeStudio.UI.Outliner.Render() in C:\projects\cafe-shader-studio\CafeStudio.UI\Windows\Outliner.cs:line 170
   at CafeShaderStudio.MainWindow.LoadWorkspaces() in C:\projects\cafe-shader-studio\CafeShaderStudio\MainWindow.cs:line 466
   at CafeShaderStudio.MainWindow.OnRenderFrame(FrameEventArgs e) in C:\projects\cafe-shader-studio\CafeShaderStudio\MainWindow.cs:line 383
   at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
   at OpenTK.GameWindow.DispatchRenderFrame()
   at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
   at OpenTK.GameWindow.Run()
   at CafeShaderStudio.Program.Main(String[] args) in C:\projects\cafe-shader-studio\CafeShaderStudio\Program.cs:line 23```

TitleBG Loading Issue

This error is thrown when loading TitleBG.pack from BotW

Tested with content/Pack/TitleBG.pack from BotW WiiU

image

Mesh picking - transparency on background issue

Transparency doesn't fully work when rendering onto background when object is selected with mesh picking. This problem seems to come from Picking.frag or how it is used.

Tested in Gagb_MarioCircuit in MK8 WiiU

image

Animation Framerate Can't Speed Up

Setting the animation framerate higher (at least for texture srt animations, maybe all) does not affect speed. Making it lower makes it slower, as expected.

Weird Overlay On Some Native-Shaded Models

Sometimes this bug sometimes only happens the very first time a file is loaded by an install of Cafe Shader. Is persistent on G64_KinopioHighway (MK8 WiiU), however persistence's aren't really consistent; I've noticed that some courses that were previously fine, after a clean install of Cafe shader, are now consistently experiencing this bug.

Tested in Gu_City from MK8 WiiU.

image

Unwanted End-of-Animation Interpolation

The orange marker appears to interpolate back to its starting position when it should snap. This issue may be a result of seeing the animation without clamping, in which case it is a duplicate of #7.

Tested in Mario Circuit from Mario Kart 8 WiiU.

image

Recent.txt saves to ../net5.0{Path.DirectorySeparatorChar}Recent.txt

the issue can be resolved by changing MainWindow.cs,1206, MainWindow.cs,1219, MainWindow.cs,121 from

whatever(Runtime.ExecutableDir + "{Path.DirectorySeparatorChar}Recent.txt");

to either

whatever(Runtime.ExecutableDir + $"{Path.DirectorySeparatorChar}Recent.txt");
whatever(Runtime.ExecutableDir + Path.DirectorySeparatorChar + "Recent.txt");

or

whatever($"{Runtime.ExecutableDir}{Path.DirectorySeparatorChar}Recent.txt");

and
and BfresModelAsset.cs,96 from

(System.IO.File.Exists("GFD{Path.DirectorySeparatorChar}gx2shader-decompiler.exe"))

to either

(System.IO.File.Exists($"GFD{Path.DirectorySeparatorChar}gx2shader-decompiler.exe"))

or

(System.IO.File.Exists("GFD" + Path.DirectorySeparatorChar + "gx2shader-decompiler.exe"))

Gu_WaterPark Rendering Bug

Most of Gu_WaterPark is yellow, and appears to have a texture overlayed screen-space.

Tested in Gu_WaterPark from MK8 WiiU

image

Animation Delta not Working

You can reproduce this issue by loading into MK8's ice course and previewing the animations for the sign in the bug image.

image

Segmentation fault when running with dotnet

When starting the latest auto-build from the releases page with dotnet CafeShaderStudio.dll, a window appears, then exits with [1] 6364 segmentation fault (core dumped) dotnet CafeShaderStudio.dll in the console.

OS: Manjaro Linux 21.1.0
Dotnet Version: 5.0.205

Full output of dotnet CafeShaderStudio.dll:

VertexShader:

FragmentShaderArb:

VertexShader:

FragmentShaderArb:

VertexShader:

FragmentShaderArb:

VertexShader:

FragmentShaderArb:

VertexShader:

FragmentShaderArb:

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
LoadShader Generic/Basic
VertexShader:

FragmentShaderArb:

LoadShader Generic/Line
LoadShader Normals/Normals
VertexShader:

FragmentShaderArb:

GeometryShader:

LoadShader Generic/BillboardTexture
VertexShader:

FragmentShaderArb:

LoadShader Screen/Screen
VertexShader:

FragmentShaderArb:

LoadShader Viewer/Grid
VertexShader:

FragmentShaderArb:

LoadShader Shadow
VertexShader:

FragmentShaderArb:

LoadShader ColorCorrection
VertexShader:

FragmentShaderArb:

LoadShader NormalizeDepth
VertexShader:

FragmentShaderArb:

LoadShader Picking
VertexShader:

FragmentShaderArb:
0:15(29): error: syntax error, unexpected NEW_IDENTIFIER, expecting ')' or ','

LoadShader Selection
VertexShader:

FragmentShaderArb:

LoadShader Editor/Gizmo
VertexShader:

FragmentShaderArb:

LoadShader Editor/UVWindow
VertexShader:

FragmentShaderArb:

LoadShader Editor/ImageEditor
VertexShader:

FragmentShaderArb:

LoadShader BFRES/BfresDebug
VertexShader:

FragmentShaderArb:

LoadShader TextureIcon
VertexShader:

FragmentShaderArb:

LoadShader Cubemap/Equirectangular
VertexShader:

FragmentShaderArb:

LoadShader Lightmap
VertexShader:

FragmentShaderArb:

LoadShader Cubemap/HdrEncode
VertexShader:

FragmentShaderArb:

LoadShader Cubemap/HdrDecode
VertexShader:

FragmentShaderArb:

LoadShader Cubemap/Irradiance
VertexShader:

FragmentShaderArb:

LoadShader Cubemap/Prefilter
VertexShader:

FragmentShaderArb:

LoadShader Effects/Default
LoadShader Blur/GaussianBlur
LoadShader BloomExtract
VertexShader:

FragmentShaderArb:

LoadShader LightPrepass
VertexShader:

FragmentShaderArb:

LoadShader Caustics
VertexShader:

FragmentShaderArb:

FragmentShaderArb:

VertexShader:

FragmentShaderArb:

VertexShader:

[1]    7191 segmentation fault (core dumped)  dotnet CafeShaderStudio.dll

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.