r/GraphicsProgramming • u/KKV0918 • Jul 31 '26
I made a wetness system that works at the renderer level no material edits needed, works on any asset
307
Upvotes
r/GraphicsProgramming • u/KKV0918 • Jul 31 '26
21
u/blackrack Jul 31 '26
That's pretty nice, the covered surfaces staying dry and geometry deciding where water collects is the kind of detail that takes this to the next level.
Can I ask how you transform the roughness and albedo parameters from the initial material parameters? There are multiple approaches out there, most are approximative and can break down with certain materials.
5
u/xucel Jul 31 '26
I think the tricky part would be supporting this for forward shaded / translucent objects like glass panes, that's probably going to require modifying the material shader though.
3
u/Zqin Jul 31 '26
How did you create such a realistic city btw? It looks really great, is there an asset pack or something?
2
u/SyntheticDuckFlavour Jul 31 '26
Very nice, it looks quite believable.
1
u/tamat Jul 31 '26
do you generate a wetness buffer rendering from the top? or you use raytracing from the gbuffers worldpositions?
1
u/susosusosuso Jul 31 '26
Does it work changinf the roughness in the gbuffer after rendered and before applying lighting and reflections?
3
u/GSxHidden Jul 31 '26
Genuine question, how and where do people learn to create such realistic materials/objects/assets? Through college, courses?