Quantcast
Viewing all articles
Browse latest Browse all 760

HighlightLayer Blacken orthocamera meshes

I have been adding a temporary HighlightLayer when some meshes are displayed.  There is also a very fast morph going on to expand mesh from origin to full size.  The HighLightLayer stays on for an additional 100 millis.  It really pops!

I did not see any reason to dispose of the HighlightLayer.  Another mesh could be instanced & display later also with that 'Entrance' type.  The use case of a permanent HighlightLayer would probably be more common anyway.

I began rebuilding a scene I had with a Dialog displayed using an ortho camera.  When the character mesh is popping, you can briefly see part of the dialog where the mesh is.  The rest of the time the area is black when the layer doesn't even have any meshes.

I switched my entrance type to another with a different animation,  and you get what I have below (still working on the eyes).  I can probably get around this by either :

  • nuking layer when done & delaying the dialog till done,
  • not using that entrance type when there is a dialog.

 but the common use case of a permanent HighLightLayer could not.  This area bordered in yellow is all black with the layer.Image may be NSFW.
Clik here to view.
Selection_013.jpg


Viewing all articles
Browse latest Browse all 760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>