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

Doesn't receive shadows or ambient light #2

Open
lucidrapture opened this issue Feb 10, 2019 · 3 comments
Open

Doesn't receive shadows or ambient light #2

lucidrapture opened this issue Feb 10, 2019 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@lucidrapture
Copy link

bg_issue1

As seen in this image, the grass does not receive real-time shadows.

I'm assuming this could be added in an additional pass? I'm not great with shaders so I'm hesitant to try and implement this myself, but it should be feasible unless there's a technical reason I haven't accounted for.

@elringus
Copy link
Owner

Take a look at the DefaultResourcesExtra\TerrainShaders\Details\WavingGrassBillboard.shader built-in shader. It uses a surface pass to support the lighting and shadows. I didn't need those for the project I've been making this solution for, so didn't bother with it.

@tinnystudios
Copy link

Hey Elringus, I'm having trouble with combining them. Do you think you'll be able to help out?

@elringus
Copy link
Owner

elringus commented Jul 7, 2020

Hey Elringus, I'm having trouble with combining them. Do you think you'll be able to help out?

Hey, Unfortunately I don't have time to work on this at the moment, but will appreciate pull requests.

@elringus elringus added help wanted Extra attention is needed enhancement New feature or request labels Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants