Skip to content

Bug: (DX11) Model translucency darkening  #643

@tmob03

Description

@tmob03

Describe the bug

From certain angles, the prop models/props_c17/door02_double.mdl has dark pop-in on the translucent parts in DX11 mode. The vmt is:

"vertexlitGeneric"
{
	"$basetexture" "models/props_c17/door02a_skin2"
	"$surfaceprop" "wood"
	"%keywords" "c17downtown"
	"$envmap" "env_cubemap"
	"$envmapmask" "models/props_c17/door02a_skin2_mask"
	"$envmapcontrast" .1
	"$envmapsaturation" .2
	"$envmaptint" "[ 0.75 0.75 0.75 ]"
	"$translucent" 1
}

Also it seems the lines going through the translucent part are not showing up on the texture in P2CE
Comparison:
https://user-images.githubusercontent.com/33987871/210919949-2b11a594-be20-4025-9c8e-6aef31697aa8.mp4

To Reproduce

Open d3_c17_05
setpos 1672.333374 -6016.530273 384.031250;setang 1.777885 164.166641 -0.000000

Observe flickering

Issue Map

d3_17_05

Expected Behavior

The translucent part of the texture should not flicker, and the lines going through should render.

Operating System

Windows 10 Home 19045

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority 3: MediumSomething that should be attempted/looked at for the next release, and done if possible.Size 2: LargeSomething that may take a week or so to do.Type: BugThis is a problem with something that should be working one way, but isn't.What: GraphicsGraphics-related stuff

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions