We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Different Outlining Color Effect

Home Forums General Questions Different Outlining Color Effect

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #77991
    ATGmedialab
    Customer

    Hello Verge3D Community,

    I’m currently trying to create an outline effect on diferent objects and each with diferent outlining color. At the moment, I can only select a single outline color through the export settings.
    Can we add diferent colors to the outlining effect for specific objects?

    Is there a way to achieve this via JavaScript or any other method?

    Thank you!

    #77996

    Hi ATGmedialab,

    Unfortunately only 1 global color can be used for outlining. A way to overcome this limitation is to highlight the individual object with emission color.

    Chief 3D Verger | LinkedIn | Twitter

    #77997
    kdv
    Participant

    Is there a way to achieve this via JavaScript

    create several outline passes with different colors. but this will probably have a huge impact on the overall performance.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #78029
    ATGmedialab
    Customer

    I see, I will try these other methods.
    Thank you both for the information and options available.
    Regards.

    #78429
    muhuzhongxun
    Participant

    JS can change the outlinning color

    
    let vEdgeColor = app.postprocessing.outlinePass.visibleEdgeColor;
    let hEdgeColor = app.postprocessing.outlinePass.hiddenEdgeColor;
    vEdgeColor.x = 1;
    vEdgeColor.y = 0.216;
    vEdgeColor.z = 0;
    vEdgeColor.w = 1;
    hEdgeColor.x = 0;
    hEdgeColor.y = 0;
    hEdgeColor.z = 0;
    hEdgeColor.w = 1;
    
    #78431
    kdv
    Participant

    Indeed… It’s possible to change the color depending on what object has been chosen. But it won’t work with two or more different objects outlined simultaneously.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.