Giter VIP home page Giter VIP logo

Comments (6)

diwako avatar diwako commented on May 31, 2024

For this I would just look for the current ambient light of the world. That means ignoring flashlights, lamps or other light sources that are not the sun or moon. That would mean something like 0 for total darkness and 1 for full daylight. (Maybe get overcast into that as well?)

As settings I would suggest just a slider (0 to 1) to set the minimal possible darkness modifier. Meaning if it is set to 1, that feature will basically do nothing, if it is set to 0 it does full effect on it and at night you will notice the difference.
Something like 0.5 means, you cannot be affected for half the range or below.

How does that sound?

from diwako_dui.

Quailsnap avatar Quailsnap commented on May 31, 2024

Not OP -- but that sounds good to me! I've personally been trying to find some performant way to at the very least "reveal" people if you are personally pointing a flashlight beam at them, and if I find that I may post it here as well.

from diwako_dui.

diwako avatar diwako commented on May 31, 2024

Update on this. Feature is planned, waiting for Arma v2.00 release to implement.

from diwako_dui.

Quailsnap avatar Quailsnap commented on May 31, 2024

As in goals for DUI v2, or...

... Or "Arma 3 v2???"

from diwako_dui.

diwako avatar diwako commented on May 31, 2024

As it looks like right now, DUI v1.8.0 might be released before the Arma v2.0.0 release. Then with Arma v2.0.0 we will add stuff with the getLightingAt into the next DUI update

from diwako_dui.

Quailsnap avatar Quailsnap commented on May 31, 2024

There's gonna be a getLightingAt FUNCTION?!!!!!
https://media1.tenor.com/images/2632080820083740352fec68b34f7ff0/tenor.gif?itemid=5821984

from diwako_dui.

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.