0
$\begingroup$

I'm a storyboard artist and recently I've been using Blender for my animatics. A game dev friend recommanded that I use Eevee for my renders as its way less ressource hungry than Cycles.

Using a reflection plane, screen space reflections etc I managed to make a mirror than works perfectly for my needs, except it won't reflect the grease pencil objects. Here you have a view of my mirror and a view of the wall in front of it. It doesn't reflect either the pictures on the wall or the drawn character. The pictures have been drawn on the surface of the wall, the character is drawn on the chair, so they are on different X axis planes, in case it could be important.

I've read on another post that grease pencil is considered post effect and so won't show in mirrors, even after render, so maybe it's hopeless but I'd like to ask just in case there's a box I need to check or something.

If I can find no work around I'll draw the reflections directly on the mirror, it won't be perfect but that's the only work around I found.

Thanks!

The wall in front of the mirror, with grease objects drawn on surface for the wall and on cursor for the character on the chair

The mirror, not reflection any of the grease objects

$\endgroup$
1
  • $\begingroup$ If you use blend-exchange.com to upload a sample file, it can directly expose us to what is causing your problem. More importantly though, we don't have to reconstruct your entire set up. $\endgroup$
    – Obfuscate
    Commented Feb 3 at 18:44

1 Answer 1

1
$\begingroup$

This is a case where uploading an example blend file would have been helpful to get a quick answer. Although your question is not uncommon, it can be however, unique because of blender's limitations with grease pencil and our inability to come up with a general solution to this issue.

As you have noticed, grease pencil objects are highly incompatible with many features of Blender. To reflect grease pencil objects on a mirror, we would have to construct everything from scratch. To construct the mirror for reflecting grease pencil objects we can easily fake one by using a Mask Layer however, to generate reflections, we're going to need some fancy footwork.

Reflections:

Here, is a geometry nodes solution that I borrowed from Chris to reflect your object(s) along any given normal vector. (I could not use Mirror Modifiers because I didn't know what kind of transformations you made to your mirror or grease pencil object(s))

enter image description here

From your images, I assumed that you used a single flat face to construct your mirror mesh and thus, used a Plane mesh to represent mine. The node tree is adjusted to calculate the normal from the single face of my plane.

Since I am using Blender 4.0.2 to construct this answer, grease pencil objects have yet to be integrated with geometry nodes so, we need to adjust them so that they are. After making more assumptions about your grease pencil objects, I decided the best way to adjust them was to convert the grease pencil object(s) into duplicate mesh(es). I did so by selecting the grease pencil and its layer and going to Object $\rightarrow$ Convert $\rightarrow$ Polygon Curve. In case we wanted to make more transformations afterwards, I parented the duplicate mesh to its grease pencil object.

enter image description here

Using this duplicate mesh for the reflection node tree, I constructed your so-called reflection with a separate grease pencil object and a Line Art modifier.

enter image description here

Mirror:

Within this new Reflection grease pencil object, I made the mirror with a Mask Layer by activating masks for the Lines layer. The mask layer is made with a fill material and an opacity of 0.000 so that it would show up as invisible. Additionally, I included a mirror border for visibility purposes. Just in case there would be more transformations applied to the mirror mesh as well, I parented these layers to the mirror.

enter image description here

Result:

Additionally, you can move your reflected line art to the Compositor to make your lines look less like they were drawn all over the mirror mesh.

enter image description here

Included in my file is my node tree if, you want to append to your file or add to your Asset Library.


Blender 4.0.2

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .