Announcement

Collapse
No announcement yet.

No Decal Mask from 3D Imposter Sprites

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    No Decal Mask from 3D Imposter Sprites

    I using the Render to Texture Blueprint, following this tutorial, and trying to render out some 3D Imposter Sprites.

    I'm following the tutorial exactly, but for some reason not getting the decal mask texture rendering out properly.

    Here is how the example looks in the tutorial:

    Click image for larger version

Name:	Imposters.PNG
Views:	1
Size:	344.9 KB
ID:	1209209

    And here is how it looks in my version:

    Click image for larger version

Name:	Imposters.jpg
Views:	1
Size:	173.9 KB
ID:	1209208

    The base colour and normal maps are coming out fine, but what should be the decal mask seems to just be an unlit version of the mesh, and opening up the file there is no usable transparency or anything in it.

    As a workaround, I could just substitute the material/s for emissive materials set to 100% white, but that's going to be annoying for large numbers of meshes, and judging by the tutorial this is something that should work.

    Anyone know what's going on here?
    Attached Files

    #2
    I'm having the same problem.

    Comment


      #3
      Unfortunately decalmask was removed from the engine. The way to get it to work now is to make it use scene depth instead, but make the material turn black if depth is greater than a threshold value in front of the camera.
      Ryan Brucks
      Principal Technical Artist, Epic Games

      Comment


        #4
        Originally posted by RyanB View Post
        Unfortunately decalmask was removed from the engine. The way to get it to work now is to make it use scene depth instead, but make the material turn black if depth is greater than a threshold value in front of the camera.
        Hi RyanB. I have used the SceneDepth. But is does not work. This is my SceneDepth and Sprite in scene. Why my character is transparency but my background is black?

        Comment


          #5
          Hey all,

          So dealing with this issue here myself. As the generation only really needs to happen once and be imported elsewhere it might be easier to just use an older engine version. Which engine version removed decalmask?

          Thanks,
          Michael Brune

          Comment

          Working...
          X