Skip to content

Add a material render mode for clearcoat with normal map taken into account#83224

Open
Calinou wants to merge 1 commit into
godotengine:masterfrom
Calinou:clearcoat-add-normal-map-render-mode
Open

Add a material render mode for clearcoat with normal map taken into account#83224
Calinou wants to merge 1 commit into
godotengine:masterfrom
Calinou:clearcoat-add-normal-map-render-mode

Conversation

@Calinou

@Calinou Calinou commented Oct 12, 2023

Copy link
Copy Markdown
Member

This is available as a flag in BaseMaterial3D and render_mode clearcoat_normal_map; in shaders.

This is supported with all rendering methods and affects all light types.

Testing project: Clearcoat_Test_2.zip

Preview

Forward+

Screenshot_20231013_014013 webp

Mobile

Screenshot_20231013_014034 webp

Compatibility

Note

Clearcoat disappears on the material with Roughness set to 0.0 because of #83223. This is not related to this PR.

Screenshot_20231013_014051 webp

@Calinou Calinou added this to the 4.x milestone Oct 12, 2023
@Calinou Calinou requested review from a team as code owners October 12, 2023 23:42
@Calinou Calinou force-pushed the clearcoat-add-normal-map-render-mode branch from 477dcce to 12a694a Compare October 13, 2023 00:17
…ccount

This is available as a flag in BaseMaterial3D and `render_mode clearcoat_normal_map;`
in shaders.

This is supported with all rendering methods and affects all light types.
@Calinou Calinou force-pushed the clearcoat-add-normal-map-render-mode branch from 12a694a to 5ecced2 Compare January 31, 2024 02:30
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.

StandardMaterial3D: Clearcoat ignores/overwrites normal map

1 participant