Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skybox Shadow Workflow #221

Closed
kjellherzke opened this issue Feb 17, 2024 · 5 comments
Closed

Skybox Shadow Workflow #221

kjellherzke opened this issue Feb 17, 2024 · 5 comments
Milestone

Comments

@kjellherzke
Copy link

How can you do a skybox material / shader graph with toon-rp as srp?

@Delt06
Copy link
Owner

Delt06 commented Feb 17, 2024

Skybox shaders are typically compatible between render pipelines except they use some specific pipeline features.
Thus, most skybox shaders should work correctly with Toon RP out of the box. You can use either a code-based shader or Toon RP unlit shader graph.

@kjellherzke
Copy link
Author

Sounds good, but when creating a toon rp unlit shader you won't be able to set it as lightning environment (skybox) material. Could you elaborate on how to get support for the shader material as skybox material?

@Delt06
Copy link
Owner

Delt06 commented Feb 17, 2024

You can, not via dragging and dropping it to the sky, but in the lighting settings. Afaik, that is the case for shader graph-based skyboxes in URP too.

@kjellherzke
Copy link
Author

Okay, I am sorry for misunderstanding you. I got it working, I had initially a wrong skybox shader that's why it did not work, but now I just changed some paramters like for the built-in render pipeline and it works. Thanks!

@Delt06
Copy link
Owner

Delt06 commented Feb 18, 2024

Just in case, here's a sample code-based shader: https://gist.github.com/Delt06/50c2f298e02a6afdfb696bc0bb12f532

@Delt06 Delt06 changed the title Skybox Skybox Shadow Workflow Apr 17, 2024
@Delt06 Delt06 added this to the Support milestone Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants