Announcement

Collapse
No announcement yet.

NormalMap to MultisubTex

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

  • NormalMap to MultisubTex

    Hi there, just want to know if theres a way to apply automatically the gamma of normal map with multisubtex, like vraybitmap does in a single map.
    Normally I use the Script Gamma Organizer to set gamma to bitmaps but it doesnt work with vraybitmaps, at least not in the free version​

    Click image for larger version  Name:	image.png Views:	0 Size:	186.8 KB ID:	1203951
    Last edited by ChuckRT; 07-03-2024, 05:19 PM. Reason: normal
    Carlos Rodriguez
    RTstudio
    Tutorials

  • #2
    So as not to overcomplicate things, here's a simple script to switch VRayBitmap's color space in a VRayMultiSubTex with a specific name:
    Code:
    for i in (getClassInstances VRayMultiSubTex) where i.name == "Map #1" do (
    subTextureArray = i.texmap
    for p in subTextureArray where p != undefined do p.color_space=4
    )​
    Replace "Map #1" with the name of the VRayMultiSubTex node and set the value you need for the color space transfer function (0-None; 1- Inverse Gamma; 2- sRGB; 3 - from 3ds Max; 4 - Auto).
    Last edited by hermit.crab; 08-03-2024, 06:59 AM.
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      Thank u Hermit, Hope this could be something that NormapMap could do in the future
      Carlos Rodriguez
      RTstudio
      Tutorials

      Comment


      • #4
        Are you loading udims by chance?
        Dmitry Vinnik
        Silhouette Images Inc.
        ShowReel:
        https://www.youtube.com/watch?v=qxSJlvSwAhA
        https://www.linkedin.com/in/dmitry-v...-identity-name

        Comment


        • #5
          Originally posted by Morbid Angel View Post
          Are you loading udims by chance?
          Nop, just regular Maps
          Carlos Rodriguez
          RTstudio
          Tutorials

          Comment

          Working...
          X