Skip to content

Commit

Permalink
Improve shader logs
Browse files Browse the repository at this point in the history
  • Loading branch information
NeeEoo committed Nov 15, 2024
1 parent 9d51b9d commit 200d8e3
Show file tree
Hide file tree
Showing 3 changed files with 291 additions and 144 deletions.
3 changes: 3 additions & 0 deletions source/funkin/backend/shaders/CustomShader.hx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ class CustomShader extends FunkinShader {
var fragCode = Assets.exists(fragShaderPath) ? Assets.getText(fragShaderPath) : null;
var vertCode = Assets.exists(vertShaderPath) ? Assets.getText(vertShaderPath) : null;

fragFileName = fragShaderPath;
vertFileName = vertShaderPath;

path = fragShaderPath+vertShaderPath;

if (fragCode == null && vertCode == null)
Expand Down
Loading

0 comments on commit 200d8e3

Please sign in to comment.