I'm trying to render out some view layers to put into the compositor. Most of them rendered perfectly fine, however the one called 'ocean' renders gray nothing, despite the presence of lights and the fact that all of the relevant objects are visible in the render (if I turn on visibility for 'ocean swell' and 'oceandetail' those objects do end up visible in the resulting render but they're not the ones I actually WANT in the render. For reference I followed this tutorial to model the ocean but I did alter some of the settings for my own purposes). Also, weirdly, while it's going about its business rendering nothing, it still stops in the middle citing that it's out of GPU memory about 75% of the time (I've reduced subdivisions, lowered tile and sample size, checked that persistent data is off, restarted the computer and program, etc. but the chance of it running out of memory is not consistent with or without any of those settings).
Here's how it looks in the viewport:
And here's what it looks like while rendering:
I have tried the most obvious troubleshooting methods to the best of my ability, including:
- adjusting the view layer settings ('use for rendering' is checked and I have tried to render it with 'render single layer' both checked and unchecked; both produce the same result of Undesired Gray Rectangle)
- ensuring that the visibility settings in the object tab are correct ('show in renders' is checked)
- double-checking my node setup (see image below)
Unfortunately I can't share my full project file because it's part of a commission and the client has asked me not to share it, but [EDIT:I'm attaching the file with only the ocean object so you can see my settings.] I'm willing to answer any questions in as detailed a manner as possible, and share screenshots of any of my settings.
EDIT: the render window now doesn't even do anything, it just shows up as if I've hit F11 to see the render result, but there's nothing there. If I try to do literally anything on this screen or even close out of it, blender crashes. Helpppp