Page MenuHome

Alpha textures Always Behind Grease Pencils
Closed, ResolvedPublicKNOWN ISSUE

Description

System Information
Operating system: Arch Linux
Graphics card: GTX 1060

Blender Version
Broken: 2.80, 266b1e2cdbc1

Short description of error
Import an image as plane with a transparent texture. The grease pencil object will always be rendered in front

Exact steps for others to reproduce the error

  1. Import the provided laser.png image into blender using the images-as-planes add-on
  2. In the Materials section of the Properties window, set the Blend mode to either Alpha Blend or Multiply
  3. Add a grease pencil monkey (or any grease pencil object with a drawing)
  4. Rotate the camera --> the image plane will be rendered behind the camera no matter the orientation

Event Timeline

Sebastian Parborg (zeddb) lowered the priority of this task from 90 to 50.

@Clément Foucault (fclem) I have tested with new engine and still does the same. Do you think this is a design limitation?

Clément Foucault (fclem) changed the subtype of this task from "Report" to "Known Issue".Jan 23 2020, 7:52 PM

Yes this is because we are rendering in layers. The GPencil engine cannot know that something has been rendered and is transparent in front of it unless it has been written to the depth buffer.

There is no real workaround this it is a limitation of the way things works.

Antonio Vazquez (antoniov) claimed this task.

This is a design limitation impossible to solve, so we can close it... no reason to keep it open.