Jump to content
The Dark Mod Forums

How to stop super shininess on textures?


AluminumHaste

Recommended Posts

2 minutes ago, AluminumHaste said:

Looks like shadermap also supports Multi-Angle Light Scan, so you can get better results with a setup like this:

image.thumb.png.3504f7455a5d64dad55956aa8f66a103.png

Ooookay, yeah that must help with depth processing. to have multiple light capture angles of the same object. I saw one video on SM4 where the guy was just using it like the old Crazybump. The tripod setup looks like it would do a hell of a lot of good.

For me I'm starting to branch into making my own tiling textures again. As trimsheets and just full tiled materials are actually becoming much more feasible in modern engines. As a traditional old-gen modeler, its strange to me to see a detail mesh get four different tiling materials to build it's primary details. 

This certainly is interesting territory we're getting into for games. Glad we got your main issue figured out though and thanks for elaborating on the process!

Modeler galore & co-authors literally everything

 

 

Link to comment
Share on other sites

I guess the best image-to-normal conversions I've seen here in the forums are via njob.

I am curious about this AI thing though:

https://github.com/HugoTini/DeepBump

has to be installed into Blender as a plugin?

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

10 hours ago, Epifire said:


The spec is basically on point with the original image (for overall tone). Really the only thing standing out to me now is that there's something funky going on with the normal map. The grout work was treated like a ridge, rather than a valley; so I'm assuming that has to do with the way the normal map was generated.

Yup, there's something off with the normal map; I actually inverted at least one channel in order to get the chipped-off edges right. The normalmap looks like just generated from a grayscale diffuse, so the white edges were convex and dark bits were concave. Isolating the bright bits, copying them to a separate layer and inverting the color would do the trick, but I thought that might be a bit too much of manual work.

Edit: I tried to do this^ quick and dirty way, https://we.tl/t-jNZdpmkJtF

And this would be the result:

23145467.jpg.5ec085a7b8d59b2f9f01701dbf4a6578.jpg

Edited by peter_spy
Link to comment
Share on other sites

3 hours ago, peter_spy said:

Jeez, that's awfully time-consuming. No wonder photosourced materials stopped being a thing for quite some time now.

It is, but there's a note in there:

Note: This method of generating normals from photographs has been replaced as of version 4.1 with the Light Scan Node.

EDIT: but if you do it right, it has really good results as the normal map is built from the height data generated from all the images.

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

But in general, the big problem with photos is that you either have to have ideal conditions when capturing them, or you have to do tons of editing, like removing shadows, getting them to tile, etc. And you'll still end up with some sensor noise, and they will be in one resolution only.

Procedural generators like Substance, or other counterparts, have the advantage of being resolution-independent, and all the components can contribute to generating proper height map, which in turn is used as displacement map for automatically subdivided mesh, which you can bake normals from. All this while being tileable at all times.

Link to comment
Share on other sites

7 hours ago, peter_spy said:

Jeez, that's awfully time-consuming. No wonder photosourced materials stopped being a thing for quite some time now.

It's definitely still a really big deal but normally I've seen specific artists/studios have a streamlined setup for this. While I'm a Substance guy through and through right now, I can still see a benefit of grabbing accurate, real-world data to layer into a complex material. On games that are gunning for photorealism, I've even seen Photogrammetry experience listed as a plus for hiring.





 

Modeler galore & co-authors literally everything

 

 

Link to comment
Share on other sites

In a long time, I don't think I've used photos for anything more than a source for a color picker, so I can get a gradient ramp, or a just a few colors to use for my base color texture. Photogrammetry is indeed useful, but in terms of capturing a photo-scanned 3d model and making it game-ready. Since most PBR materials are standardized and look similar, games tend to be slightly stylized anyway, as everyone wants to have some visual identity. Photorealism ceased to be a holy grail of games quite some time ago too, it's more of an arch viz thing (and maybe racing games, although that's mostly cars).

Edit:

Out of curiosity @OrbWeaver, how specularity works in this engine? Did TDM team use what was there by default with idtech4, or did you implement your own tweaks? From what I've been experimenting with, it's different than other non-PBR engines, as it's not just a straightforward add operation, am I right?

Edited by peter_spy
Link to comment
Share on other sites

As I recall, when JC-Denton did the HDR-lite implementation he made the following changes:

1) Increased the default specular response and added a simulated light bounce per the Doom 3 Brilliant Highlights mod by Maha-X

https://www.moddb.com/mods/brilliant-highlights

2) Added a glancing angle fresnel response

3) Added a small default specular amount to materials that have no specular so that some of the lighting effects would work better

4) Mixed in some of the diffuse color into the specular to slightly approximate radiosity effects

As of 2.11, 3 and 4 are no longer applicable but 1 and 2 still happen.

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

Link to comment
Share on other sites

That would confirm my observations. I think that removing 1 & 2 might be beneficial as well... 🤔

1 –  because it would give creators more of the specular texture color range to use. Currently, if I go above ~ RGB 190 intensity, the specular hotspot will look overblown (with no bloom applied)*

2 – because it increases the specular hotspot saturation at grazing angles, making it harder to control. You can compare that by using the dielectric specularity trick, where you invert the color of the diffuse texture to get white specular hotspot. This is how the result looks like:

At straight angle in the center, everything looks correct:

01.jpg.f24989099eaa8bdeebd7e857c6951427.jpg

At grazing angle:

02.jpg.57a5b3bcb64375cdaa219fad3acda8af.jpg

I guess that you might want to apply that to cubemap reflections, not specular hotspot.

*That said, this is my setup only, it's all relative to light intensity, radius, etc.

Edit: would it be possible to toggle the two HDRLite features via cvar? I would be interesting to experiment with this and see how it affects making materials, for both flat surfaces and models.

Edited by peter_spy
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

    • 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.
      · 1 reply
    • 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
×
×
  • Create New...