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.

Dynamically switch material textures

Home Forums General Questions Dynamically switch material textures

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #69796
    aqiang
    Customer

    any tips or examples on how to dynamically switch material textures like gif image show

    Attachments:
    You must be logged in to view attached files.
    #69806
    xeon
    Customer

    What 3D app are you using?

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #69813
    aqiang
    Customer

    @xeon ,Real time screenshots of switching materials on an online page based on Threejs , viz4d.com

    #69819
    xeon
    Customer

    Ok…so there are many ways to do the effect you are looking for but they typically start with the material created in the 3D package you are using such as Blender, Max, etc….alternatively you may be programmatically creating your shader. In any case you are just controlling the shader to create the desired result.

    In Blender you would have one shader that you can control via values that allow you Mix. The rough edges would be managed through color ramps and a noise texture to get the desired result.

    The “dynamics” part…is based on your code to control the values and factors within the shader.

    If you are wanting to do this in threeJS / javascript…thats one option or are you wanting to do this via puzzles in V3D.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

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