Liquid shader is back for the CS2 charms, this time with not-fake physics and not-fake refraction!*
*it's all fake, it's a videogame
@skilful.bsky.social
Visual Effects Developer at Valve
Liquid shader is back for the CS2 charms, this time with not-fake physics and not-fake refraction!*
*it's all fake, it's a videogame
The Grandaddy show in Seattle last night, they had a slideshow of old photos taken from various places on tour mostly. The headline got a chuckle from the audience when it popped up. It was followed by a cool horse.
19.09.2025 17:10 β π 1 π 0 π¬ 2 π 0@quantick.bsky.social fame
19.09.2025 16:49 β π 1 π 0 π¬ 1 π 0You should check out this new game @counter-strike.net prettyy good
23.06.2025 18:21 β π 27 π 0 π¬ 0 π 0I hope this was interesting, it's nice when people take an interest in how things are made. There are lots of little ideas and solutions that go into this kind of thing and it's really fun to work with the awesome people at Valve to make it happen.
p.s. we're always hiring www.valvesoftware.com/en/
I don't really have anything to add about the bottle shader but do check out @doomquasar.bsky.social 's video if you haven't seen it!
www.youtube.com/watch?v=9XWx...
The CS2 version is pretty much the same, although the physics/not physics is done a bit differently.
The caustics from the interactions come from sampling the buffer again, this time reprojected to fit the underwater geometry from the direction of the sunlight. It has its limits and the fade happens when you approach the edge of the buffer. It's also refracted in the same way as the frame buffer.
13.06.2025 21:06 β π 16 π 0 π¬ 1 π 0The blue channel was originally just to add silt being kicked up but ended up used for more general long-lasting interations. It's used to carve out a path in the surface debris and the normal derived from this channel allows us to push the UVs apart a bit so it feels like you're moving it around.
13.06.2025 21:06 β π 30 π 1 π¬ 2 π 0interaction buffer showing where foam effects will be drawn
the foam as it's drawn, a combination of the interaction buffer and other textures
The green channel is used to define where foam should be and is combined with other textures to make it look more detailed than the buffer can handle by itself (although I wish this looked better to be honest).
You can also see here how the red channel perturbs the UVs to give it a parallax effect.
combined normal mapping on the surface of the water
The red channel's ripples become normals and are combined with ambient normals along with those from the surface debris and a little from the foam shape too (as we're calculating it anyway). These are then used for the lighting, reflection and refraction effects in the shader.
13.06.2025 21:06 β π 21 π 0 π¬ 1 π 0Exactly as stated, the red channel is used for waves/ripples, green for foam, blue for softer and longer lasting interactions. The buffer is sampled directly in the water shader - 3 times for the surface so we convert the channels to normals too.
13.06.2025 21:06 β π 14 π 0 π¬ 1 π 0The buffer is smaller still on lower settings. The reason it's not shrunk the same in both dimensions is we noticed the limitation of where it starts to look too blocky happens sooner in the vertical due to the foreshortening you usually get when looking out horizontally across the plane.
13.06.2025 21:06 β π 16 π 0 π¬ 1 π 0Interactions are where particle effects would tend to be anyway. E.g. when a character intersects the water plane a particle system is spawned containing both the splashes (normal particles) and the water interaction (water plane oriented interaction effects).
13.06.2025 21:06 β π 17 π 0 π¬ 1 π 0This is a great thread @hillsguy.bsky.social, I'll add a bit more context here for anyone interested.
Yes there's no fancy sim - it just uses a water interaction buffer as a target for the particle system rendering, so we could use the power of particle system we already have.
Cat tree with plump orange cat fruit
My cat tree has fruited! Does anyone know if this plump beauty is ripe for the picking?
25.05.2025 21:02 β π 46 π 1 π¬ 4 π 0Munoz on -1 for a double game week though
16.04.2025 20:15 β π 0 π 0 π¬ 0 π 0The hardest chance. Phew!
16.04.2025 20:04 β π 2 π 0 π¬ 1 π 08 goals now so far and 1 assist π
16.04.2025 19:24 β π 0 π 0 π¬ 1 π 0How's it going on twitter sorry the everything app sorry twitter
15.04.2025 19:15 β π 11 π 0 π¬ 3 π 0It might also be the Harold Shipman beard. Hope you're well mate!
23.03.2025 22:45 β π 1 π 0 π¬ 1 π 0Today we shared the 2024 Year In Review, a summary of all the cool new tools and features we added to Steam last year. (plus some interesting data points about how the platform is growing).
store.steampowered.com/news/group/4...
Genuine question @dominos-pizza.bsky.social : Is that stuffed crust or classic?
13.02.2025 12:48 β π 3 π 0 π¬ 1 π 0On reflection I blame @vizcomic.bsky.social
09.02.2025 23:52 β π 2 π 0 π¬ 0 π 0I'm not even sure where I got that picture. This was the early 90s, it's not like today where people are accustomed to being able to Google pictures of Peter Beardsley's cock and balls whenever they want
09.02.2025 14:26 β π 9 π 0 π¬ 3 π 0Badly home made t-shirt featuring a transferred photo of 80s footballer Peter Beardsley with his cock and balls hanging out
Honestly if you can't see this I envy you
Clearing out my parents house which isn't much fun, but it was heartwarming to see my mum kept hold of the t-shirt I made with Peter Beardsley's cock and balls hanging out
09.02.2025 12:21 β π 29 π 0 π¬ 2 π 0Subtle things to make your shaders better:
1) Anti-aliasing - Real life is not limited to pixels so unless you're specifically going for a pixelated style, you should be anti-aliasing everything!
mini.gmshaders.com/p/antialiasing
Post you from a different era. I suppose I still do colouring in, in a way
22.11.2024 02:41 β π 9 π 0 π¬ 0 π 0Hello Bluesky, we're here now too!
18.11.2024 23:26 β π 2779 π 313 π¬ 72 π 32This is the official CS account on here btw
bsky.app/profile/coun...
I cannot tell you how much work this was. I hope everyone enjoys it. There's some insane stuff in here.
Half-Life 2: 20th Anniversary Documentary
youtu.be/YCjNT9qGjh4