3D Grass with window in front, Bug

I’ve been trying to render an interior with 3D grass outside of a window ( see sample test ) some grasses don’t work through the glass?

Hello,

We tried to reproduce without success…
Could you send us your file, it would help us to reproduce and fix this issue.

You can send it via WeTransfer at sarrut@abvent.fr

Best regards,

Hi Mike, I don’t think that this bug only occurs with a window in front: in my case this happens even when simply changing the viewpoint!
In the example I am including the grass shader is rendered in one view and not in the other!

Hello Tariq,

I think your issue might come from the 3D grass falloff distance.
The falloff is the distance between the camera and the point in the scene, if it is too small there will be no grass generated.

Here is a screen shot of a scene with 2 view points, one closer to the 3D Grass than the other, but with the same falloff setting:
camera closer to 3D grass:


rendering of this viewpoint:

camera further away from 3D grass:


rendering of this viewpoint:

Best regards

Many thanks Camile for the reply, yes it might be the case but when you end up with a brown patch in the distance because the grass render’s been cancelled then it doesn’t look realistic and there should be a way to automatically replace the 3D grass with a related 2D mapping that at least reproduces the texture of the grass!

P.S One possible solution to the issue is to associate a 2D grass mapping to the 3D grass shader so that even in the preview you don’t end up with a brown patch but a recognisable grass texture and when it comes to rendering the scene the patches that are in the distance keep the 2D grass mapping. Hope this is achievable!

You can apply a 2D grass texture on top of 3D grass shader

Many thanks for the tip but what I ended up doing was to change the falloff distance within the 3D grass shader itself and that sorted out the issue!
There is a slight impact on the rendering time but manageable!