Giter Club home page Giter Club logo

Comments (8)

TangentFoxy avatar TangentFoxy commented on August 16, 2024

It's been a while since I used this library, so I don't remember exactly how it works, but essentially depending on whether you draw your objects before or after the shadows determines whether or not they are hidden by shadows.

from light_world.lua.

taxilly avatar taxilly commented on August 16, 2024

Also having this problem, see image. It's a shame since this lib looks good :(

2017-07-25-161443_1366x768_scrot

from light_world.lua.

egordorichev avatar egordorichev commented on August 16, 2024

Hm, works fine for me, but I want to see the bodies! Any way to reproduce?

from light_world.lua.

zell2002 avatar zell2002 commented on August 16, 2024

@Guard13007 that is fair.. but surely the lib should handle that?
Would I have to rewrite parts of it? I must admit, last time I looked at it I found it a bit confusing lol.
Any pointers?

@egordorichev Can we see a screenshot of it working for you? As my screenshot is using it out the box.

from light_world.lua.

tanema avatar tanema commented on August 16, 2024

Yeah this library is a light model and not something that culls objects. Also you might try to turn the ambient color completely black to mimic not drawing objects, however choosing to draw and not draw something is not the task of this library and is part of your own game code. Feel free to fork and alter.

from light_world.lua.

egordorichev avatar egordorichev commented on August 16, 2024

@zell2002
screenshot from 2018-02-18 22-38-26

from light_world.lua.

TangentFoxy avatar TangentFoxy commented on August 16, 2024

@zell2002 Sorry, can't say much as I haven't worked with it in a long time. Been busy with projects not using lighting.

from light_world.lua.

zell2002 avatar zell2002 commented on August 16, 2024

@zell2002
screenshot from 2018-02-18 22-38-26

Is this using the same library? Did you have to change the code/world config?

from light_world.lua.

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.