UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #3074 Odd lighting on weapon firing
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Battlescape
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/3074 Item 3074] imported from sourceforge.net tracker on 2013-01-28 19:58:38

I am getting unexpected lighting behavior when firing a weapon. I imagine this is related to the dynamic lighting effects. Surfaces in odd places light up very brightly, while others get very dark.

In the screenshot attached, you can see how the floors on the insides of the buildings are very bright, and some walls are very bright, but they don\'t really correspond to the game world (ie - surfaces are lit that wouldn\'t be lit by the position of the flames).

Compiled on Nov 30. ufoconsole.log is cluttered with error messages because I was testing a WIP hud.
===== Comments Ported from Sourceforge =====

====== natewr (2011-12-05 08:36:15) ======


====== natewr (2011-12-05 08:37:43) ======


====== tlh2000 (2011-12-05 16:14:54) ======

also see the patch on the tracker about changed weapon particles light parameters
====== alextishin (2012-03-07 00:55:42) ======

Found the reason. TANGENTS attribute array is being disabled for the surfaces that do not have a normalmap, resulting in incorrect positioning of lights in the tangentspace of said surfaces. You can't construct a proper tangentspace without a tangent vector, after all :)

Working on the bugfix.
====== alextishin (2012-03-07 11:37:17) ======

Should be fixed by 1d44242cb54524913f83a57651eb9eacc3d760e3
====== aduke1 (2012-09-19 22:29:19.692000) ======

- **status**: pending --> closed
- **milestone**: --> 2.0-RC2
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif