Jump to content
The Dark Mod Forums

Unwanted square overlay in lower left hand screen corner (2nd camera view?)


Recommended Posts

I'm building my first FM in DR, and for some reason, when I'm testing my unpackaged build, on world spawn there's a fixed square overlay in the lower left screen corner, a few cm on a side, with vague contents that morph as the player moves. It could I guess be a secondary camera (perhaps downward facing). This square doesn't appear when running other FMs in Win10, so it must be a problem with my build. No odd spawnargs on the info_player, and nothing I could find in the wiki or forum. Any help as to what this is and how to find it/turn it off would be much appreciated.

Link to comment
Share on other sites

Not intentionally. Looked over the available console commands, and those bound to my keys... nothing too obvious as a cause. Another finding, though: The rectangle is not really an overlay, but appears behind game objects on top of the surrounding night-time Portal Sky texture (which is much more encompassing in my FM than the average FM). The Portal Sky stars are visible through this square, which perhaps is more like a square lightening filter... but the degree of lightening flickers as motion occurs.

Link to comment
Share on other sites

Solved (sort of)! There is evidently a minor bug in the way skybox tdm_sky_starry1 works with portal sky. The somewhat different tdm_sky_starry2 doesn't suffer it. The bug is not typically visible due to ground structures and clutter.

To reproduce the problem:
1) Start a new project, with a hollow box as a room (e.g., 512 units per side)
2) Texture the sides with portal sky, except give the floor a typical (not too dark) texture.
3) Outside the room, create prefab nature/skybox/tdm_sky_starry1.pfb
4) In the room centroid, create entity Lights/sources/atdm_ambient_world. As usual, extend its scope to all the room.
5) For easy bug detection, change its colour spawnarg to be something too bright, e.g., RGB(255,255,255).
6) Set the player start, then save, dmap, run.
7) Run the player around the floor perimeter, with the black sky to the player's left, and the player viewing the floor. As you move the player around, look for a small square in the lower-left corner of the screen, when that corner is over the portal sky texture. It's as if it's the view of a high-contrast security camera (attached to the player's chin?)

Edited by Geep
Link to comment
Share on other sites

Further insight: perhaps the water layer in tdm_sky_starry2 suppresses this effect. This anomaly is also see with other skyboxes (e.g., "fog") that uses animated textures of twinkle_stars or clouds. Indeed, even non-skybox brush walls with twinkle_stars applied exhibit this effect (didn't try clouds). So it's the animation shader code for these textures that is the likely culprit.

BTW, it turns out tdm_sky_starry2 wasn't a viable solution for me. Instead, putting in an unlit dark iron perimeter wall in front of the skybox did the trick, hid the anomaly.

Link to comment
Share on other sites

6 hours ago, duzenko said:

Congratulations, you have just discovered the Lightgem

Sorry, duzenko, but he´s got a valid point. This is something I discovered myself during learning how to map. Maybe it is linked to incorrectly sealed geometry.

Edited by JackFarmer
Link to comment
Share on other sites

Yes, this has been an intermittent problem for the last few years.  The bugtracker is still down, but there are some entries there about it.

Link to comment
Share on other sites

So, this is a known issue. When looking into this oddity, I did try to consult the bugtracker, but found it down, as Springheel notes. When the tracker revives, it might be helpful to add a link back to this thread to an appropriate existing bug report. Otherwise, I've little more to add here.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
    • The Black Arrow

      Hope everyone has the blessing of undying motivation for "The Dark Mod 15th Anniversary Contest". Can't wait to see the many magnificent missions you all may have planned. Good luck, with an Ace!
      · 0 replies
  • Create New...