Can't use shaderlib outside of current directory, can't change dir #56

Closed
opened 2025-02-05 18:42:17 +00:00 by ChaoticByte · 2 comments
ChaoticByte commented 2025-02-05 18:42:17 +00:00 (Migrated from github.com)

Problem:

Since the shaderlib moved out of the application (few commits ago), Fragmented fails to #include relative paths that are outside of the current directory. Now Godot doesn't resolve the path relative to the directory of shader file, but relative to the directory of the Fragmented executable -.-

And there is no way to change the current working directory :)

Seems like I have to do more regex replace stuff yay

Problem: Since the shaderlib moved out of the application (few commits ago), Fragmented fails to `#include` relative paths that are outside of the current directory. Now Godot doesn't resolve the path relative to the directory of shader file, but relative to the directory of the Fragmented executable -.- And there is no way to change the current working directory :) Seems like I have to do more regex replace stuff yay
ChaoticByte commented 2025-02-06 18:18:04 +00:00 (Migrated from github.com)

Nope, the problem is that I load the shader manually instead of resource loader

Nope, the problem is that I load the shader manually instead of resource loader
ChaoticByte commented 2025-02-06 18:36:37 +00:00 (Migrated from github.com)

Should be fixed now :)

Should be fixed now :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ChaoticByte/Fragmented#56
No description provided.