Facepunch / garrysmod-requests

Feature requests for Garry's Mod
84 stars 24 forks source link

Add $flowmap for better water-texture control. #1162

Open Nak2 opened 6 years ago

Nak2 commented 6 years ago

The effect can be seen in action here here. $flowmap isn't limited to water only, it can create flow velocity by skewing and scrolling the $normalmap. VDC Water Water

I did find some SDK that mentions flowmap and some shader with flowmap varables here, but I'm unsure how much it helps.

Combine900 commented 6 years ago

used on l4d2 maps i noticed during the port of milltown (hardrain map 1).

would be nice too see it in gmod

Kefta commented 6 years ago

If the water shader is going to be updated to support flowmaps, it would be nice to have $lightmapwaterfog and $flashlighttint as well to control water lighting. Both are also defined in the linked file.

Combine900 commented 5 years ago

oh lol must be blind grr. keep hope something is happen :>

GAnimator commented 2 years ago

20221008184422_1 Four years has already passed and there's still no fix of $lightmapwaterfog...

GAnimator commented 2 years ago

Four years has already passed and there's still no fix of $lightmapwaterfog...

Here's the same map, but compiled in L4D2 $lightmapwaterfog is giving +100 to graphics 20221009172925_1

piqey commented 2 months ago

Would very much like to see this added, especially now that there are more tools available for generating flowmaps. EDIT: My reasons include but are not limited to the fact I recently spent a number of hours creating a very good flowmap for a map I've been working on for a number of weeks just to find out that $flowmap wasn't supported in Garry's Mod, which is highly unfortunate considering the time sink of several hours and the visual benefit that would have been gained in the case of this particular map.

garryspins commented 2 months ago

Can we see this? couldnt be too hard of an addition

piqey commented 1 month ago

Wait a minute, if we got the SolidEnergy shader from CS:GO/P2 couldn't we get this, too? I'm not sure how access to CS:GO?P2 shaders were obtained but did not CS:GO/P2 have the L4D2 water shader? I know for a fact Portal 2 had the L4D2 water shader flowmap support.

It's highly unfortunate the current state of things given that SolidEnergy essentially does the same effect but is unusable in situations we'd want it to be for environments that use water, which is the majority of situations we'd want to use flowmaps.