# Dual speculars like in the attached gif animation

**URL:** <https://forums.unrealengine.com/t/dual-speculars-like-in-the-attached-gif-animation/1167327>\
**Category:** Rendering\
**Tags:** unreal-engine, question\
**Created:** [May 16, 2023, 8:00am UTC](https://forums.unrealengine.com/t/dual-speculars-like-in-the-attached-gif-animation/1167327 "2023-05-16T08:00:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebastian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sebastian](https://forums.unrealengine.com/u/Sebastian)\
**Post date:** [May 16, 2023, 8:00am UTC](https://forums.unrealengine.com/t/dual-speculars-like-in-the-attached-gif-animation/1167327/1 "2023-05-16T08:00:44Z")

</div>

I learned the material layering system with the hope that I would be able to mix two different roughness or speculars. Bing Chat at least said that would be doable : )  
But it seems that the blending done by the layering system is not actually a blend but more like a morph. Because it’s morphing the two different roughness sizes and not actually overlaying a specular on top of the other like in the gif animation attached. I also tried the clear coat. That works, but it doesn’t work with the two sided foliage model. I’ve read somewhere here that the shading system is very flexible and you can do almost anything with it. How can I implement dual speculars in the two sided foliage model ?

![spec_mix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/2/d/e2de37a64b35930e1baba46fc48d753a7a28357f.gif)

 ![Rough_large](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/c/e/cce19b47794f519ae4843f193c3355f9f4b37c24.png)

 ![Rough_small](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/7/6/d768da415fbecf76a626e450caf2c3e792130ebc.png)

---

<div class="post-metadata">

**Author:** ![BananableOffense](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BananableOffense](https://forums.unrealengine.com/u/BananableOffense)\
**Post date:** [May 16, 2023, 12:54pm UTC](https://forums.unrealengine.com/t/dual-speculars-like-in-the-attached-gif-animation/1167327/2 "2023-05-16T12:54:07Z")

</div>

Substrate supports two specular lobes. Not sure there’s a way to get true dual specular with most standard shading models.

---

<div class="post-metadata">

**Author:** ![Sebastian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sebastian](https://forums.unrealengine.com/u/Sebastian)\
**Post date:** [May 16, 2023, 6:36pm UTC](https://forums.unrealengine.com/t/dual-speculars-like-in-the-attached-gif-animation/1167327/3 "2023-05-16T18:36:53Z")

</div>

That’s great. Do you know a tutorial which shows how to achieve dual spec on a two foliage model ? And I also heard that substrate since it’s in beta has all kinds of incompatibilities and incomplete features. I know about pathtracer missing, that’s not that important, but does it have any other important missing features ?

There’s also this solution which would allow you to have a second fake specular point. It’s not a true reflection and because of that I think if you would have this sphere in shadow, you will still get that specular point from the sun. But with the added benefit of being able to choose the color of the “specular”.  
But unfortunately it has all this artefacts when you move the sun, like in the second picture. Does anyone know how to fix this fake specular shader ?

 ![dual_spec01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/e/8ae51bf5cf35a5bd12779c8d8e23903ddc131e91.jpeg)

 ![dual_spec02](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/9/7c925bf5d6bbd390c18f6d50576e7c3f8d224a0e.jpeg)

---

<div class="post-metadata">

**Author:** ![BananableOffense](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BananableOffense](https://forums.unrealengine.com/u/BananableOffense)\
**Post date:** [May 16, 2023, 8:52pm UTC](https://forums.unrealengine.com/t/dual-speculars-like-in-the-attached-gif-animation/1167327/4 "2023-05-16T20:52:29Z")

</div>

> [@Sebastian](#):
>
> incompatibilities and incomplete features.

The way I see it, the standard material pipeline has a missing feature (lack of multi-specular) that is preventing you from achieving the shading result you are going for. You’re just trading one system with limitations to another system with limitations, but if it’s better suited for your goal then it may be worth it.  
I don’t know all of the limitations or your project needs so there’s really no way to know other than to try it.

---

<div class="post-metadata">

**Author:** ![Sebastian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sebastian](https://forums.unrealengine.com/u/Sebastian)\
**Post date:** [May 18, 2023, 2:34am UTC](https://forums.unrealengine.com/t/dual-speculars-like-in-the-attached-gif-animation/1167327/5 "2023-05-18T02:34:05Z")

</div>

You are right. And it works. It’s not very straight forward like in a DCC program and it has lots of small quirks and bugs, but I think that’s the price we have to pay for real-time super speed rendering.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [June 17, 2023, 2:34am UTC](https://forums.unrealengine.com/t/dual-speculars-like-in-the-attached-gif-animation/1167327/6 "2023-06-17T02:34:47Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
