I hope I’m not posting in the wrong place ^^.
TL;DR: Is there a way to make freestyle stop drawing lines over grease pencil objects ?
If not, are there equivalent solutions as “freestyle” to render sketchy lineart?
I’m trying to figure out how to make a sketchy styled 3D environnement, with a lineart, and integrate grease pencil object in it. Freestyle allows to render great linearts, but it just completly ignore grease pencil objects.
Here’s what I’ve tried:
Replacing freestyle with other techniques.
-> Solidify modifier and inverted normals renders boring “lineart” (well, maybe it just illustrate the difference between “outline” and “lineart”), with little to no customization options, or tedious ones (with weight paint). It renders unconsistent line thickness, which break the “sketchy” feeling. Since it duplicates the mesh, I’m not sure it is an optimized solution.
Replacing freestyle with various shaders.
-> Usually, line thickness is related to the distance of the camera. They might give a “sketchy” feeling for a single character, or a single object, but for a whole scene, it just doesn’t work.
Replacing freestyle with shader AND using an orthographic camera.
-> Line thickness is consistent, like that. But an orthographic camera is not appropriate for what I intend to do.
Rendering picture as a background, then adding grease pencil.
-> This is a real waste of potential. The advantages and flexibiolity of the 3D environnement are lost. Moreover, it implies to render a rendered picture, which therefore, lowers the quality of the pictures.
Cutting rendered object in pieces and put them together like billboard objects in a new scene.
-> It is a tedious process, and it has the same disavantage as the “solution” mentionned above. But it add the fact that line thicknes is, once again, inconsistent.
-> Just too unstable at the moment for a real project.
Attempt in progress:
- A modifier setup that would turn the alpha (or thickness) of the freestyle lines to 0 if detected to be behind the grease pencil materials (or something that would implie the existence of the drawing in grease pencil)
- A compositing setup? (Although, I’m pretty sure it is mechanicaly impossible this way)
And that’s about it. I have to admit, I’m running short of ideas. So, if you have any idea, I would be very glad to hear it.