Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

QnDelighter: quick Texture delighter with OpenCV

Discussion in 'Assets and Asset Store' started by Pode, Aug 22, 2019.

  1. Pode

    Pode

    Joined:
    Nov 13, 2013
    Posts:
    145
    QnDelighter is an app that can remove shadows and highlight from a photo, to use it as a tileable texture:
    https://github.com/Pseudopode/UnityTextureDelighter



    The app is made with Unity and the OpenCV asset for Unity from https://assetstore.unity.com/packages/tools/integration/opencv-plus-unity-85928

    The idea is simple and fast : remove the low frequencies of shadows and lights from a picture, to make it tile more easily.

    The size of the blur to remove the shadow can be changed, to adapt to different size of shadows.

    Of course, the resulting image is of course saved on disk.

    A release is available as a zipped .exe on the Release page: https://github.com/Pseudopode/UnityTextureDelighter/releases

    The algorithm works best when there's one color variation. To make it work with several colors, the algorithm should work on the luminosity (Y) channel of an YUV, YCbCr or CIELab version of the image.

    I'll create a new release with that modification soon.
     
    Mark_01 likes this.