Shader source code #606
Answered
by
robertosfield
rolandhill
asked this question in
Q&A
Replies: 3 comments
-
Hi Roland,
The source shaders are where they used to be [vsgExamples/data/shaders](https://github.com/vsg-dev/vsgExamples/tree/master/data/shaders).
The new [vsgshadetset](https://github.com/vsg-dev/vsgExamples/tree/master/examples/utils/vsgshaderset) example loads the GLSL files for each ShadetSet and
then generates the appropriate SPIRV code and .cpp files to enable them to
be compiled in.
Cheers,
Robert.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
robertosfield
-
In the old vsg-users google group there is a thread on vsgshaderset development: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, Robert. I thought I must have been missing something obvious.
Thanks too for the link to the discussion.
Regards,
Roland
…On Thu, 24 Nov 2022 at 19:25, Robert Osfield ***@***.***> wrote:
Hi Roland,
The source shaders are where they used to be vsgExamples/data/shaders.
The new vsgshadetset example loads the GLSL files for each ShadetSet and
then generates the appropriate SPIRV code and .cpp files to enable them to
be compiled in.
Cheers,
Robert.
—
Reply to this email directly, view it on GitHub
<#606 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAPOEQ76FRNJB5X45FNLXNTWJ4RATANCNFSM6AAAAAASJT4D3M>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Robert,
I need to check how something is calculated in the PBR shader and notice that now the shaders are loaded as compiled binary (pbr_ShaderSet.cpp). I can't find the source code anywhere in the VSG directories. Is the source code in there somewhere? I can't help feel that I'm just missing something obvious.
Regards,
Roland
Beta Was this translation helpful? Give feedback.
All reactions