Jump to content
The Dark Mod Forums

Spotlight Anomaly


Sotha

Recommended Posts

Playing Dishonored and Bioshock games convinced me that spotlights can truly add up the visuals, so I decided to use a lot of spotlights in my WIP.

 

To my disappointment, I noticed a weird anomaly in rendering when the player is under a spot light.

 

See this video:

http://www.youtube.com/watch?v=zVH1feOXdrA&feature=youtu.be

 

When I am roughly below the spotlight, look down in an 45 degree angle and approach the center of the light spot on the ground, the spotlight crops in an ugly way (@3 seconds) from the botton of the screen and from the sides. When I approach the light spot from a different angle, there are no problems. This makes me reluctant to use spotlights as they seem bugged.

 

Any ideas what is causing this? Is it a general problem in TDM renderer? A video setting combination? Or something specific to my hardware?

 

Do others get it too? Please check. You can copy paste the same test map from the spoilers. See from the video how it manifests and try to see if it happens for you as well.

 

I tried to get a screenshot of this, but the screenshots look fine. Luckily video capture was able to get the effect "on tape."

 

I have an ATI Radeon HD 4800 video card, and the catalyst AI is disabled. I tried to fiddle with antialiasing, vsync, interaction shader and other video settings (from the TDM video menu), but it seems it happens no matter what settings I have.

 

 

 

 

Version 2
// entity 0
{
"classname" "worldspawn"
"editor_drLastCameraPos" "82.2168 205.162 69.8094"
"editor_drLastCameraAngle" "6.3 24.9 0"
// primitive 0
{
brushDef3
{
( 0 0 1 -256 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 1 0 -392 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 1 0 0 -400 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 -1 0 112 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( -1 0 0 -24 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 0 -1 248 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
}
}
// primitive 1
{
brushDef3
{
( 0 0 1 -248 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 1 0 -400 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 1 0 0 -400 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 0 -1 0 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( -1 0 0 -24 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 -1 0 392 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
}
}
// primitive 2
{
brushDef3
{
( 0 0 1 -248 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 1 0 -392 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 1 0 0 -408 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 0 -1 0 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 -1 0 112 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( -1 0 0 400 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
}
}
// primitive 3
{
brushDef3
{
( 0 1 0 -392 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 1 0 0 -400 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 0 -1 -8 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 -1 0 112 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( -1 0 0 -24 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 0 1 0 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
}
}
// primitive 4
{
brushDef3
{
( 0 0 1 -248 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 1 0 0 -400 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 0 -1 0 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 -1 0 104 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( -1 0 0 -24 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 1 0 -112 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
}
}
// primitive 5
{
brushDef3
{
( 0 0 1 -248 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 1 0 -392 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 0 -1 0 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 0 -1 0 112 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( -1 0 0 -32 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
( 1 0 0 24 ) ( ( 0.0078125 0 0 ) ( 0 0.015625 0 ) ) "textures/darkmod/stone/flat/tiling_1d/cement_002" 0 0 0
}
}
}
// entity 1
{
"classname" "func_static"
"name" "func_static_54"
"model" "models/darkmod/lights/non-extinguishable/lamp_shaded.lwo"
"noshadows" "1"
"origin" "214.155 283.375 151.677"
"rotation" "-0.875426 -0.132971 0.464703 0.461296 -0.516952 0.721088 0.144346 0.845623 0.513892"
}
// entity 2
{
"classname" "light"
"name" "light_4"
"_color" "1.00 1.00 1.00"
"light_right" "-150 60 0"
"light_target" "-60 -170 -180"
"light_up" "-40 -120 100"
"nodiffuse" "0"
"noshadows" "0"
"nospecular" "0"
"origin" "214 283 152"
"parallel" "0"
"texture" "lights/biground1"
}
// entity 3
{
"classname" "info_player_start"
"name" "info_player_start_1"
"origin" "56 288 0"
"angle" "-3.5083545633527932e-015"
}

 

 

Clipper

-The mapper's best friend.

Link to comment
Share on other sites

This is a typical phenomenon, which I'm not a houndret percent sure whether it is caused by the spotlight or the angle you've put it in. You could try creating the same effect with a default light, and see if that error still occoures.

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

I believe there are over 10 light clipping and scissor cvars. When I get a chance ill take a look at how this behaves if you turn off those. Performance may tank though :(

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

obst, it occurs even with a light made with the following way:

1) create light

2) press L, choose Spotlight (or was it projected?)

3) don't do anything else.

 

The effect is there, but it is a bit more subtle.Normal lights (as in non-spotlights) never exhibit this.

Clipper

-The mapper's best friend.

Link to comment
Share on other sites

Than use a normal light, rotate it, and surround the parts where no light should go through with shadow brushs.

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

Than use a normal light, rotate it, and surround the parts where no light should go through with shadow brushs.

 

Err? In that case, what would be the purpose of the spotlights then?

 

What I'm trying to do here is to bring the issue to general awareness and check the origins of the problem: if it is system or setting specific or a general issue in TDM. As you see from the video, it is quite an unnerving issue that prevents the mapper from using and placing spotlights as they please.

 

Do other people see the issue in their systems?

 

If other people see it too, it is a general issue that needs a fix.

 

If nobody else, but me, have it, then it's my problem and I should not consider it as a problem I need to circumvent in my map.

Clipper

-The mapper's best friend.

Link to comment
Share on other sites

As said I have that issue, too, sometimes. If you don't have access to the bugtracker I can file a report there. Else I would left this up to you.

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

As said I have that issue, too, sometimes. If you don't have access to the bugtracker I can file a report there. Else I would left this up to you.

 

Oh, so that's what the "typical behavior" meant.

 

Okay, if it is happening for other people as well, it is not just a graphic card/driver glitch on my end.

 

Tracked here:

http://bugs.thedarkmod.com/view.php?id=3562

Clipper

-The mapper's best friend.

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.

Guest
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

    • nbohr1more

      The FAQ wiki is almost a proper FAQ now. Probably need to spin-off a bunch of the "remedies" for playing older TDM versions into their own article.
      · 1 reply
    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 3 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 7 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • 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
×
×
  • Create New...