GWater2 - Transparency
Вставка
- Опубліковано 3 сер 2023
- Today I showcase more smoothed normals with transparency. Progress is slow, but moving. I assure you that getting the data required for the final calculation is not easy. The depth buffer in source is super broken for some reason.
There are 4 textures in the lefthand corner of the screen, this is what they do:
1. This texture shows the normal map of the sprites. They are projected into what looks like a sphere
2. This texture shows the normal map, but smoothed with depth based gaussian blur.
3. The framebuffer used for transparency / refraction. This is basically what the scene looked like before the particles were rendered.
4. Depth texture used for estimating how many pixels to cross during blurring and to show which pixels to discard in screenspace.
Image with 4 textures (good visual of whats going on):
cdn.discordapp.com/attachment...
discord: / discord
Not even going to lie, this is amazing. It also amazes me how GWater has gone from a few blue square sprites to the Portal 2 Blob-looking thing we have today. I can't wait for this to be fully released. Hats off to Mee for the most Source revolutions in one year.
bouncy ball
Ah yes, source. Struggling to do crazy, next gen, advanced things such as... A depth buffer.
I swear man dx9 is slowly chipping away at my sanity
youtube compression may hate these videos, but i love them
I clicked this harder than my mind
Huh?
holy shit it doesn't look like sand anymore! how do you keep on impressing us!?
magic
When a wave crashes, the water disperses in such a way to where light scatters and bounces away. Depending on how fast a particle's moving & how isolated it is from other particles, it should increase in "whiteness" and opacity.
true but I gotta fix a lot of stuff first
I mean jeez the weapon literally renders over the water
this looks amazing! is it possible to make it a little bit more transparent and white or smth when it has higher acceleration, so that it creates a foam effect or possibly makes it more realistic looking whenever it flows out of somewhere or flies around
possibly. I have higher priority stuff to fix though (like the stupid viewmodel clipping through the water :/)
The more you post about GWater 2 the more exciting it becomes.
one improvement i can see being made is somehow making the water less transparent or/and darker for larger bodies of water, so it looks much less like just a blob on the screen
No way it actually looks like water now and not blue blobs, nice job.
Absolutely astounding. Amazing work.
If this is what you can make in source i cant imagine what you can do i source 2
eh. not really a fan of source 2. the graphics are amazing but everything else is kinda.. “meh”
@@Meetric1 understable
honestly quite incredible
Real
The HL Alyx bottle shader impressed me at the time, but this is a game changer!!!!
This is in-cred-ib-le!?!
This is beautiful! I hope you'll be developing something for s&box with your skills!
Thanks but im not really planning on it. too much drama
s&box treats their devs like shit
@@johnmm. ohh didn't know that...
When the water defies the depth buffer
This is so good omg GG
Cool!
this guys gonna be a menace once he gets his hands on source 2
even if i don't have Gmod cuz my pc sucks this is better then any other ASMR video
Impressive.
getting closer he is
It's soo transparent that i goes through the physicsgun.
That. Is. Insane.
Hell yea, looks a lot more like water now, keep it up!
valve hire this man
Goddamn beautiful
reminds me a bit of the physx implementation in Borderlands 2
wa' ah. puur wa' ah. any time you nee' it. day o' night. free o' charge.
(refrence to limmy - water) cool shti as always mee!
Super cool.
Looks great! Is it possible to make the droplets that are in close vicinity attract towards each-other? I think that would be neat and it would form more realistic puddles on the ground.
Keep up the good work, always interesting to see.
very impressive, also its more watery looking now
amazing
holy FUCKING SHIT you did it
You could try making the fresnel effect using player position as the origin. It sells a good water effect when done right and when there's a big body of water.
Btw, still in shock by the amount of things you did for gmod. Keep it up!
This is awesome! you should definitely add options for viscosity. It would be really cool to have a big blob of water slowly melting lol.
fun to mess with.
There are, just havent showcased it yet
@@Meetric1 cant wait to see that
we're several steps closer to npc_surface becoming a possible thing in gmod
still looks like a bit like a ball pit, i think it would help if they accumulated into big blobs instead of individual particles scattered everywhere
if it goops too much then it might look too slimy. I guess i need to tweak some more parameters
Now add rtx reflections on every single drop.
No but srsly this keeps getting more and more to exactly what I always dreamed of in a 3d sandbox game.
I am curious how far you will go. Maybe some day the single particles wouldn't even be visible and it's basically just fluid
this is amazing and will only get amazinger :)
(bad grammar intentional)
it looks like it spreads too much, there is water tension but i think you should make it the bigger a group of connected particles is the bigger the attraction force should be
Its looking great! Every video impresses me. There seems to be a bit of delay when rendering the reflections, thats such a strange phenomenon🤔
uuuhhhhmm yea hm… its kinda fked. ill see if I can fix it
this is really cool. Is it possible to make deeper water shaded darker? or is it too computationally expensive for source
Ill try but i swear man if i have to fuck with the depth buffer again and it (once again) does something absolutely retarded im gonna slam my balls in a closing door
w
Watery water
I wonder if the particles had a slight bit of magnetism to one another if it'd become more like water. For now, it's still like a bunch of orbez rather than a fluid
True but we dont want it to be too goopy
Wow
try making it so that when it is spread on a large surface the water becomes thin
Do you think it's even possible to implement the Hand tracking of the Oculus Quest 2 to Gmod VR?
Valve should hire you for Half Life 3 fluid sims
Literally how
So is this how you made water on Earth?
yea
like i said, bitrate nightmare
I wonder if you could port it to SFM or S2FM somehow. You could lower the ball size a ton in rendering and get some blender looking water effects.
maybe. but I dont plan on porting it
How about making their visual size smaller or more linear when they are at higher velocity? That would simulate rain / watter splatter
true but i gotta fix a lot of stuff first
About the transparency water,
the more water, the darker it should be?
is there any fix for the crowbar under the water? either way this is sick considering its source
working on it lol
@@Meetric1 hah i saw in your newest video you fixed it! love the addon btw, great job
This is amazing. but something still is off about its looks. Perhaps its because it doesn't have any sort of foaming? I definitely think its too transparent when its being sloshed around
Its pprobably an abscence of surface tension. As someone mentioned in the comments it looks like a ball pit rather than a liquid. I think if particles were attracted to each other then it would be better.
turns out shortly after posting this video I realized that my normal calculations were completely fked
next video will look 100000x better
@@Meetric1 yaay! cant wait!
@@deletechannel3776 yeah, fair point. mee is trying to emulate intermolecular forces, but i don't think its that easy. Youd have to make attraction forces depending on proximity and if its part of a group/droplet or not. and then it'll probably turn out waaay too viscos because the particles are so big.
damn this looks good, why not make some of the "droplets" in a certain range automatically attract to other droplets. could maybe improve the globby look
true but i dont want it to be too goopy
@@Meetric1 hmmm...
will this be released when done?
yuh
You know how to fix the water going over the tools?
nope. working on it
Do you ever plan on adding lava/magma to the mod?
the viewmodels will be fixed, right
I noticed that water moves when you move camera.
yeah i noticed it too. weird bug, ill try and fix it
mee try not to push source to its abosloute limit challenge:
When beta 🥺
Looks good, but it needs work.
working on it
yoo water with no opaque
when release
idk
absorbance?
ngl these still act like alot of balls maybe change the gravity so it act like water because when you push water it doesnt go that far yk.
The radius is just really big
its addon?
Transperment prop kinda ruins water
transparent..?
@@Meetric1 yes transparent
Just make your own depth buffer (joke don't actually take it seriously)
no but like.. I literally did because the source one was so fked
its the greenish yellow box at the very bottom
Bussing
жаль ничего не намокает
HOT
I am amazed by this, but also why is the very bottom of the screen look like it's not getting transparency or something. What bug are you encountering in either your hacks to make this work or source directly to cause this?? Does that have something to do with your issues with the depth buffer?
Not reading all that
that is straight up sorce spaghetti my friend, i honestly have no idea why :)
Wtf
Can still see some separate spheres
i mean theyre pretty massive. I dont think anything could really fix that without just scaling down the particle radius
are you gonna fix it being over the physgun and making part of it disappear
that's the depth buffer mentioned in the description
@@vlim5601 oh ok
yeah im working on fixing it
No more cringe!!??!! 😨😱😱😳😨😱
first like most times