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

GenericCAO: Fix dark model below y = 0 #6175

Closed
wants to merge 1 commit into from
Closed

GenericCAO: Fix dark model below y = 0 #6175

wants to merge 1 commit into from

Conversation

paramat
Copy link
Contributor

@paramat paramat commented Jul 26, 2017

Move point at which light is sampled up to 0.5 nodes above foot level,
to avoid that point sometimes passing into the node below causing the
model to go dark.
/////////////

screenshot_20170726_200018

Fixes #6174
Tested in a local server, i also adjusted the position downwards to double check this line is the cause.
0.5 nodes up is chosen to cope with 1-node high players or mobs, and is halfway up a node so is optimum.

Move point at which light is sampled up to 0.5 nodes above foot level,
to avoid that point sometimes passing into the node below causing the
model to go dark.
@JurajVajda
Copy link

FYI: also attached entities (carts, boats) are offset due to the new model changes...

@paramat
Copy link
Contributor Author

paramat commented Jul 30, 2017

238d752

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants