8000 `#include` derective in ShaderLab support relative path. · Issue #2222 · galacean/engine · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
#include derective in ShaderLab support relative path. #2222
Closed
@Sway007

Description

@Sway007

Is your feature request related to a problem? Please describe.
#include directive need to understand relative path like below:

#include "./shader/chunk.glsl"

Describe the solution you'd like
Add property path to ShaderPass and ShaderChunk class

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthigh priorityHigh priority issueshaderShader related functions

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0