Duke4.net Forums: Duke Nukem Forever 2011 and Lighting - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Duke Nukem Forever 2011 and Lighting  "A quick technical question for those who may know about it."

User is offline   Duke4Beta 

#1

Hello,

I have a question regarding Duke Nukem Forever and their choice of lighting for large outdoor areas. It seems that dynamic lighting ha been chosen over baked shadows for statically lit scenes?

I mean, wouldn't this be more CPU efficient? Guess maybe I don't know as much as I thought.

Would love to get an explanation regarding this. Thanks!
0

User is offline   HulkNukem 

#2

All I know is that the apparent reason it was set during daytime was that the engine couldn't handle all the lights from night time.

There is also a multiplayer level set on the strip at night time.

This post has been edited by HulkNukem: 13 July 2018 - 11:52 PM

0

#3

It could be that the code to handle baked lighting was scrapped when dynamic lighting and real-time shadows were introduced. It's the only explanation to the mention of levels suddenly being all black when the new code was introduced.
0

User is offline   Micky C 

  • Honored Donor

#4

Couldn’t they have kept that code in and just added a toggle or something?
0

User is offline   Duke4Beta 

#5

Well, that's what I was thinking, but they must have been overly confident regarding their new tech, even though it would be logical just to leave it in. a simple bool would be enough to toggle shadow modes. I figure they thought they could just bake the lights in for background models with a 3d modeling program, and then just port the assets in the engine. it seems silly to me to rely on just dynamic shadows...that leaves me to wonder if they wanted to have a day-night system at one point, or it was just too expensive to get the static lighting re-implemented so that it could interact with the dynamic lights in a subtractive manner.

This post has been edited by Duke4Beta: 27 July 2018 - 06:18 PM

0

#6

View PostMicky C, on 17 July 2018 - 03:30 AM, said:

Couldn’t they have kept that code in and just added a toggle or something?

View PostDuke4Beta, on 27 July 2018 - 06:16 PM, said:

a simple bool would be enough to toggle shadow modes.

Preface: I'm not defending where DNF landed.

Answer: No.

Now if you had said "Well why didn't their lighting guys support TWO paths to lighting and therefore manually light every single scene twice" then it might have approached some semblance of understanding the problem, though you'll be hard pressed to find any project that considers supporting two lighting paths on the spectrum of sanity. The only place your suggestions have ever had any life are in some kinda interesting "super slow system options" where there is literally zero expectation of acceptable visuals purely to get polys on screen at a functional framerate on below min spec machines.
2

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options