Giter Site home page Giter Site logo

Comments (9)

grondag avatar grondag commented on July 22, 2024

The images are very dark and it isn't clear where/what the problem is. Could you please elaborate?

from canvas.

Azzyypaaras avatar Azzyypaaras commented on July 22, 2024

The lighting in more complex models occasionally breaks on various faces. The issue is inconsistent and seems to fall into the lovely category of "only arises when you are not trying to screenshot it". I did manage to get a clearer shot here.
image
As you can see, the bottom face here is far darker than it should be. Notably, this only ever seems to happen in one direction at once.

from canvas.

grondag avatar grondag commented on July 22, 2024

Hmmm, is AmbientOcclusion shading disabled on the model or on the material for that quad?

from canvas.

Azzyypaaras avatar Azzyypaaras commented on July 22, 2024

I am not particularly experienced with the sort of stuff. But given that this is just a plain json model and given that that this does not have any shaders applied to it. Probably no.

from canvas.

grondag avatar grondag commented on July 22, 2024

If you don't have "ambientocclusion": false in the model JSON it will be enabled. Try adding that or confirming it is there.

My guess is that it is getting shaded by the block below it, because it is "close" to that face. The Vanilla lighting model isn't great at shading fine detail like that, especially internal faces.

from canvas.

Azzyypaaras avatar Azzyypaaras commented on July 22, 2024

Nope, it is disabled. I should note that I have only seen this issue with Canvas installed.

from canvas.

grondag avatar grondag commented on July 22, 2024

Interesting. Can I get a copy of the JSON model?

from canvas.

Azzyypaaras avatar Azzyypaaras commented on July 22, 2024

fruitpress.zip

from canvas.

grondag avatar grondag commented on July 22, 2024

Tried it and unable to reproduce with the model alone. Will need full code for block.

from canvas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.