Author Topic: What would be the best way to achieve these stains on a material?  (Read 804 times)

2023-11-24, 15:31:55

narroby

  • Users
  • *
  • Posts: 3
    • View Profile
Hello! I'm pretty new to Corona and 3DS max in general, and I'm struggling to figure out what the best way to achieve these marks could be.



With my limited experience I was thinking maybe utilizing Decals, but that option feels clunky. Alternatively, maybe some sort of Corona Composite material (but how do you make sure its placed on the edge?), or a maybe a CoronalDistance map with a grunge distance mask.

Does anyone know a better way to replicate these? Thank you!

2023-11-24, 16:38:53
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9025
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Hi,

Why do you think Corona decals are clunky? Now when they got support of real-wold mapping, i think it could be one of the better options for this kind of job. Alternatively you could use your mentioned Corona distance, or Corona AO with z offset. Even old fashioned way through mapping with multiple channels is still workable solution.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2023-11-25, 21:22:21
Reply #2

narroby

  • Users
  • *
  • Posts: 3
    • View Profile
Hello Romullus, thanks for the reply. I was actually just reading your reply on this ( https://forum.corona-renderer.com/index.php?topic=31552.0 ) similar post from a few years ago, which was very helpful.

The reason why I thought decals were not ideal for the job is because I wasn't able to figure out how to make them tile the material that's applied to them. Whenever I resize the decal, it stretches the bitmap as opposed to tiling like a regular material. Is that the way they actually work, or am I messing it up somehow?

Thank you!

2023-11-26, 00:32:26
Reply #3

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9025
  • Let's move this topic, shall we?
    • View Profile
    • My Models
In Corona 11 decals now can have real-world mapping enabled, so texture stretching is not an issue anymore. Assuming that your leakage texture is tiling horizontally, you can adjust decal's length as much as you want and the texture won't stretch, but instead will be tiled nicely. Decals can be problematic on highly curved surfaces, but on flat walls they work perfectly.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2023-11-27, 15:56:29
Reply #4

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13154
  • Marcin
    • View Profile
As Romullus mentioned, this kind of effect can also be created using Corona AO or Distance maps:
https://docs.chaos.com/display/CRMAX/Corona+AO+Map
https://docs.chaos.com/display/CRMAX/Corona+Distance+Map
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2023-12-01, 18:48:15
Reply #5

John.McWaters

  • Active Users
  • **
  • Posts: 278
    • View Profile
    • JohnMcWaters.com
In Corona 11 decals now can have real-world mapping enabled, so texture stretching is not an issue anymore. Assuming that your leakage texture is tiling horizontally, you can adjust decal's length as much as you want and the texture won't stretch, but instead will be tiled nicely. Decals can be problematic on highly curved surfaces, but on flat walls they work perfectly.

Hallelujah!