Skip to content

Conversation

@FrancescoC-unity
Copy link
Contributor

The specular color can now be used to completely kill specular. Values from 2% to 0% slowly kill fresnel killing the remaining specular that would be there otherwise.

Before with black specular color

image

Now with black specular color

image

Here is a gif to show transition

specColor

What did I test:

Can be seen in the gif :)

Yamato: (Just kicked) https://yamato.cds.internal.unity3d.com/jobs/902-Graphics/tree/HDRP%252Fkill-specular/.yamato%252Fall-hdrp.yml%2523All_HDRP_trunk/4112834/job

Copy link
Contributor

@TomasKiniulis TomasKiniulis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that dev testing is sufficient for this and I expect leftover issues would be revealed by automation. If Yamato is green, looks good to me.

@FrancescoC-unity
Copy link
Contributor Author

I am seeing several yamato failures, will investigate shortly.

@FrancescoC-unity FrancescoC-unity marked this pull request as ready for review November 10, 2020 08:05
# Conflicts:
#	TestProjects/HDRP_DXR_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/900_Materials_AlphaTest_SG.png
#	TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/LinuxEditor/Vulkan/None/2205_LightLoopCullWOblique.png
#	TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/None/2205_LightLoopCullWOblique.png
#	TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D12/None/2205_LightLoopCullWOblique.png
#	TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Vulkan/None/2205_LightLoopCullWOblique.png
#	com.unity.render-pipelines.high-definition/CHANGELOG.md
@FrancescoC-unity FrancescoC-unity changed the title Specular color on HDRP/Lit below 2% can be used to suppress specular lighting completely [HOLD] Specular color on HDRP/Lit below 2% can be used to suppress specular lighting completely Jul 7, 2021
@LaserYGD
Copy link

Hi, we need this, and currently it seems the only way to suppress specular is to disable affect specular from the directional light.
And possible alternatives aren't viable in deferred mode.
Any hope/update on this pull?

@BOXOPHOBIC
Copy link

Hi, the transmission/sss shaders don't have a specular color. Will this feature be available for those shader types? We really need this for foliage shaders. Could this be added to the smoothness instead? 0 smoothness = 0 spec highlight. Thanks!

@spiNkerZ
Copy link

Guys, when already?(((

@sebastienlagarde
Copy link
Contributor

recreated in private repo

@spiNkerZ
Copy link

recreated in private repo

Where is it?

@Dawie3565
Copy link

Hi yes we need this
also affects Unity's new HD cloud systems in that we can not shut off on skin or any foliage shaders

Where is it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants