Jump to content
The Dark Mod Forums

Recommended Posts

Posted
8 hours ago, peter_spy said:

I'm for specular behaving like typical specular and being relatively inexpensive, instead of faking specularity with cubemaps because... reasons?

So not a fan of HL2 specular eh?

https://developer.valvesoftware.com/wiki/$envmap

This is what @J.C.Denton was probably aiming towards which is not too out of the ballpark for a 2010 design.

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...)

Posted (edited)

This is not a specular hotspot, this is a cubemap reflection. I don't like mixing those up. I like how this is done automatically in PBR setups, where one gradually turns into another with respective roughness values. In non-pbr workflow, I prefer to control both separately. Besides, they don't even react to light in the same way.

Edited by peter_spy
Posted

I went back to the old GLSL thread and tested my modifications in the ambient_light test map for further calibration.

I then tried to run this map in 1.07 but apparently it's assets are too new.

I then installed 2.05 for comparison. While goofing around I compared Caduceus of St Alban between 2.05 and 1.07 and noted that the fresnel effect is stronger in 1.07 and the faked reflections in the gold statues is gone as well as other reflective ambient behaviors. Either that part of the ambient shader was removed between 1.07 and 2.05 or the darker env/gen cubemap in standalone has made the effect less prominent. Since my goal was to get the 2.05 ARB look back, it is not too urgent to add this cubemap back but it might be a nice stretch goal to have a true 1.07 legacy mode. On comparing Caduceus between 1.07 and my shader, I would humbly accept victory so anything further is just a bonus.

  • Like 1

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...)

  • 7 months later...
Posted

I am uploading this here for safe keeping:

interaction.ambient.fs.glsl

I have mostly ported the entirety of the fresnel shader design from our own standard lights to the ambient light.

The specular response is significantly improved. Metals look like metal under ambient lighting again!

This was created using the SVN build so it will probably only work for Dev builds. I will evaluate how difficult it will be to back-port to 2.09 ( probably not too much work ).

To test it out, either unzip the tdm_base01.pk4 and overwrite the same file under /glprogs/stages/interaction or create a /glprogs/stages/interaction/ folder in your darkmod directory and save this file there. ( basically use any valid Doom 3 shader mod install process ).

  • Like 2

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...)

Posted

tdm_base01.pk4

Here is a package ported to 2.09.

I reconciled the fresnel and SSAO by having the fresnel effect set to "min" between the darkest fresnel pixel

and the darkest SSAO pixel. While I am sure there are cases where fresnel is brighter than AO in a realistic simulation,

TDM has so many textures and assets with baked AO or shadows do letting SSAO "win" the darkest pixels

seems to better match the art style better.

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...)

  • 3 weeks later...
Posted

I tried to incorporate the old sky color \ ground color paradigm from the 1.03 shader but it seems that the code support

for "world up" direction may have been dropped?

Oh well, here is a new version. Color matched and specular tuned to even further have the same specular response as regular lights so everything is now uniform. Also, I trimmed off at least 4 operations including a sample so this should be more optimized.

tdm_base01.pk4

  • Like 1

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...)

Posted

New screens:

 

Spoiler

 

newjob_2021-11-16_00.38.11.jpg

newjob_2021-11-16_00.40.07.jpg

 

newjob_2021-11-16_00.40.24.jpg

newjob_2021-11-16_00.44.08.jpg

newjob_2021-11-16_00.49.08.jpg

 

 

Here is a direct comparison:

Default ambient:

newjob_2021-11-16_00.47.12.jpg

 

Fresnel Mod:

newjob_2021-11-16_00.46.54.jpg

You can see that the new specular behavior preserves the subtle specular texture work on the hands.

 

 

 

  • Like 2

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...)

Posted

Somewhat disappointingly, the advantages of this mod are rarely seen in the best looking missions.

 

This is because many mappers have approximated this look by augmenting their maps with "bounce lights" since

the release of "Sir Talbot's Collatoral" so you almost always see the same specular effect in ambient lighting as with

real lighting because most maps "always use real lighting" for ambient locations anyway.

 

Having this new ambient behavior should reduce the need to place bounce lights around

and thus should save a little performance as well as mapping efforts.

  • Like 3

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...)

  • 3 weeks later...
Posted

I got sick of messing around with the ported code, and instead tuned the specular in the current design and added fresnel.

The result is smaller cleaner code and it looks better as wellinteraction.ambient.fs.glsl

  • Like 1

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...)

Posted

One of my long term wishlist items has always been that the ambient have a little distance based darkening so that background items are darker than foreground. I have finally achieved this effect via my own efforts:

beleaguered_fence_2021-12-14_00_59_56.thumb.jpg.596f5100b873d6c0d4617e4657b078ea.jpg

 

returntothecityv2_2021-12-14_17_47_12.thumb.jpg.b651d686bb19c65e1bceda24ca37aeee.jpg

naog_2021-12-14_17_55_34.thumb.jpg.ec95df2509d39c8640e4459a64471e4b.jpg

patently_dangerous_2021-12-14_19_17_22.thumb.jpg.5b07cde352a291e0264a6c8ef8193d58.jpg

patently_dangerous_2021-12-14_19_18_51.thumb.jpg.0c855d65e4dd8b568037ae03c1d44da2.jpg

  • Like 2

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...)

Posted

The new 2.09b build :

tdm_base01.pk4

2.10 dev:

interaction.ambient.fs.glsl

Other features?

Improved darkening for the underside of normals to restore some detail lost by fresnel brightening

Fresenel now responds much better to specular variation

Specular is clamped to 96% of ambient brightness rather than using lots of complicated clamp factors ( more optimized)

 

 

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...)

Posted

This is my personal quest to make an ambient that is equal or better than the one from TDM 1.03 to 2.05.

The plan is to eventually add something like this as a legacy mode or default mode.

Ideally this work would be superseded by a move to true PBR that would incorporate similar features but would be

more "physically correct". My work is mostly artistic in nature so it is not quite good enough yet though I am trying

to make it more rational and mathematically sound.

  • Like 2

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...)

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

    • HEX_OX12

      ai have information and ai want to sell them
      · 0 replies
    • jivo

      I just uploaded a new version of the Visible Player Hands mod. It's been updated for TDM 2.13 and has new animations. Check out the post if you're interested!
      · 0 replies
    • datiswous

      I moved from Manjaro Linux (rolling release) to Linux Mint (LTS). One of the reasons was that I found the updates a bit too often and long. But now on Mint I get updates every day, although they're usually small updates.
      · 3 replies
    • JackFarmer

      "Hidden Hands: Vitalic Fever" - new update available including subtitles & compressed briefing video (thanks to @datiswous) and several fixes.
      · 0 replies
    • Wolfmond

      🇬🇧

      2025-04-20
      I'd like to track my level design progress a bit more often now, so I'm using the feed in my profile here.
      I've been working intensively on Springheel's YouTube course over the past few days. I'm currently up to lesson 8. There is so much information that needs to be processed and practiced. 
      I have started to create my own house. As I don't have the imagination to create a good floor plan, I grabbed a floor plan generator from Watabou and experimented with it. I chose a floor plan that I will modify slightly, but at least I now have an initial idea. 
      I used two guards as a measuring tape: The rooms are two guards high. It turned out that I can simply double the number of boxes in DarkRadiant in grid size 8 that are drawn in the floor plan. 
      I practiced the simplest things on the floor plan first. Drawing walls, cutting walls, inserting doors, cutting out frames, creating VisPortals, furnishing rooms.
      I have had my first success in creating a book. Creating a book was easier than I thought. I have a few ideas with books. The level I'm creating will be more or less a chill level, just for me, where I'll try out a few things. I don't have an idea for my own mission yet. I want to start small first.
      For the cellar, I wanted to have a second entrance, which should be on the outside. I'm fascinated by these basement doors from the USA, I think they're called Bilco basement doors. They are very unusual in Germany, but this type of access is sometimes used for deliveries to restaurants etc., where barrels can be rolled or lifted into the cellar. 
      I used two Hatch Doors, but they got completely disoriented after turning. I have since got them reasonably tamed. It's not perfect, but it's acceptable. 
      In the cellar today I experimented with a trap door that leads to a shaft system. The rooms aren't practically finished yet, but I want to continue working on the floor plan for now. I'll be starting on the upper floor very soon.

      __________________________________________________________________________________
      🇩🇪

      2025-04-20

      Ich möchte nun mal öfters ein bisschen meinen Werdegang beim Leveldesign tracken, dazu nutze ich hier den Feed in meinem Profil.
      Ich habe mich in den vergangenen Tagen intensiv mit dem Youtube-Kurs von Springheel beschäftigt. Aktuell bin ich bis zu Lektion 8 gekommen. Das sind so viele Informationen, die erstmal verarbeitet werden wollen und trainiert werden wollen. 

      Ich habe mich daran gemacht, ein eigenes Haus zu erstellen. Da mir die Fantasie fehlt, einen guten Raumplan zu erstellen, habe ich mir einen Grundrissgenerator von Watabou geschnappt und damit experimentiert. Ich habe mich für einen Grundriss entschieden, den ich noch leicht abwandeln werde, aber zumindest habe ich nun eine erste Idee. 

      Als Maßband habe ich zwei Wächter genommen: Die Räume sind zwei Wächter hoch. Es hat sich herausgestellt, dass ich in DarkRadiant in Gittergröße 8 einfach die doppelte Anzahl an Kästchen übernehmen kann, die im Grundriss eingezeichnet sind. 

      Ich habe bei dem Grundriss erstmal die einfachsten Sachen geübt. Wände ziehen, Wände zerschneiden, Türen einsetzen, Zargen herausschneiden, VisPortals erstellen, Räume einrichten.

      Ich habe erste Erfolge mit einem Buch gehabt. Das Erstellen eines Buchs ging leichter als gedacht. Ich habe ein paar Ideen mit Bücher. Das Level, das ich gerade erstelle, wird mehr oder weniger ein Chill-Level, einfach nur für mich, bei dem ich ein paar Sachen ausprobieren werde. Ich habe noch keine Idee für eine eigene Mission. Ich möchte erst einmal klein anfangen.

      Beim Keller wollte ich gerne einen zweiten Zugang haben, der sich außen befinden soll. Mich faszinieren diese Kellertüren aus den USA, Bilco basement doors heißen die, glaube ich. Diese sind in Deutschland sehr unüblich, diese Art von Zugängen gibt es aber manchmal zur Anlieferung bei Restaurants etc., wo Fässer dann in den Keller gerollt oder gehoben werden können. 
      Ich habe zwei Hatch Doors verwendet, die allerdings nach dem Drehen vollkommen aus dem Ruder liefen. Inzwischen habe ich sie einigermaßen gebändigt bekommen. Es ist nicht perfekt, aber annehmbar. 
      Im Keller habe ich heute mit einer Falltür experimentiert, die zu einem Schachtsystem führt. Die Räume sind noch quasi nicht eingerichtet, aber ich möchte erstmal am Grundriss weiterarbeiten. In Kürze fange ich das Obergeschoss an.



      · 2 replies
×
×
  • Create New...