A scientific approach towards modelling Ocean water in blender

hello,
I am Hrijul and recently while working on one of my personal projects I came accross a very intruiging question:
HOW TO ACCURATELY MAKE A UNIVERSAL OCEAN WATER SHADER that scales well
so I started reading about volumes and scattering and absorption
By the Power Of Mathematics :smile: I have started figuring out some part of it
here you can have a look at it

##########################################


Version 7

Version 6


Version 5

Version 4

Version 3

Version 2

Version 1

I will be posting Further updates soon

6 Likes

I don’t have much of any experience on this subject, so I’m probably not the best person to ask. :stuck_out_tongue:

Can you refer someone who might have interest in this?

Going by your shots, I’m assuming you’re more concerned about the murkiness below the waterline than you are the surface, right?

I did find this after some quick googling.

I am trying to upgrade that in a scientifically accurate way

as I am replacing a real life shot with it

Try reading through this…

https://blender.stackexchange.com/questions/154467/physically-accurate-water-shader

I have read that but they are old

Yeah, but it’s still relevant, since nothing has changed among the Principled materials nodes in the last couple of years.

Remember, the basic PBR based nodes available in Blender are already designed to mimic realistic light interactions with various materials and volumes right out of the box. Half of your work is already done for you. All that’s left is setting up the flavor.

1 Like

Yes they are designed to do that but pricipled bsdf if just a shortcut or starting point
we have to make custom node setups

Maybe have a look at some scientific literature on the subject - might give you an idea of the type of considerations you need to take account of:

http://waterontheweb.org/under/lakeecology/04_light.html#:~:text=The%20percentage%20of%20the%20surface,those%20with%20high%20k-values.

https://spj.sciencemag.org/journals/remotesensing/2021/9753625/

Yeah you are right I have been reading up on this matter and that is how i made my own custom density formula

would anybody like to test my setup??
I have also considerred the specrtal distribution of light in the water volume

We’ve had some complaints from people you tagged - please don’t tag people in large quantities, especially if they’re not ok with it, you should generally stick to only tagging people if you need them specifically or if they’ve told you they don’t mind, thanks!