StrataSource / Engine

Issue tracker for Strata Source
46 stars 2 forks source link

Bug: The refract shader is a bit broken #752

Open MyGamepedia opened 1 year ago

MyGamepedia commented 1 year ago

Describe the bug

It darkens often. Also it looks distorted in screen edges.

https://user-images.githubusercontent.com/103366204/233843583-d9fa7444-abce-4030-82e8-1c3783282647.mp4

20230423162652_1

20230423162607_1

To Reproduce

  1. Open map d1_canals_01a.
  2. Fly to gun shields.
  3. Observe shader behavior.

Issue Map

Any.

Expected Behavior

The shader at least should work as in Half Life 2.

Operating System

Windows 10, it should work in any I think.

SlidyBat commented 1 year ago

Is this still an issue? Can't seem to replicate on Momentum Mod, the shields always show the darker color from your video and there is no distortion. image

MyGamepedia commented 1 year ago

They should not be dark, also problems still in the game.

ozxybox commented 1 year ago

Could you post an example of what the expected behavior should look like? How does this prop look like when used in stock hl2 vs stock portal 2 vs p2ce?

MyGamepedia commented 1 year ago

Could you post an example of what the expected behavior should look like? How does this prop look like when used in stock hl2 vs stock portal 2 vs p2ce?

P2CE.

https://github.com/StrataSource/Engine/assets/103366204/c1fc28ae-fe36-4e0a-a790-9f6ff1d227ed

HL2.

https://github.com/StrataSource/Engine/assets/103366204/0af1edf2-240f-4ec9-9cfc-7f64e6b70c8a

ozxybox commented 1 year ago

Hmm yes that does look a bit dark! Thank you for the videos!