Page MenuHomeFeedback Tracker

Material - Basic glass reflectance Renders through terrain.
Closed, ResolvedPublic

Description

RVMAT "Material - Basic glass reflectance" does not test Z buffer. Mesh rendered partially in terrain is visible and has a strobe effect on lighting.
renderFlags[] setting in RVMAT file has no option for Enable/Disable Z Buffer test, only Z Buffer write ("NoZWrite").

RVMAT Basic Glass setting:
Simple Glass With Reflectance

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
22H2
Category
Visual-Structures
Steps To Reproduce

Use default setting in RVMAT file for 'Basic glass reflectance'.
Simple Glass With Reflectance

Apply to faces of P3D object and spawn partially in Terrain.
Above terrain renders correctly.
Below terrain faces render visible (no z buffer test) and have a strobing light effect.

Additional Information

RVMAT renderFlag settings has no option to disable Z buffer test.

Have extremely high desire for "NoZBuffer" option in RVMAT file 'renderFlag[]' setting. So faces could render with no Z buffer test but write to the Z buffer. This feature would make cutting holes in terrain or any mesh object possible and allow placing underground entrance anywhere on a map, including vanilla Chernarus and Livonia. On terrain or interior.

Event Timeline

Gaz6 created this task.May 3 2023, 2:21 PM
Gaz6 updated the task description. (Show Details)May 3 2023, 2:28 PM
Gaz6 edited Steps To Reproduce. (Show Details)May 3 2023, 2:43 PM
Geez closed this task as Resolved.May 4 2023, 10:39 AM
Geez claimed this task.
Geez added a subscriber: Geez.

Hello Gaz6.
According to devs you are not supposed to use basic materials in this case. Use super shader for general purpose, multishader for buildings.
Basic is broken and no longer supported.