load scene materials and textures

Home Forums Programming load scene materials and textures

This topic contains 4 replies, has 2 voices, and was last updated by Yuri Kovelenov Yuri Kovelenov 3 months, 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #16012
    Avatar
    abin
    Newbie

    Hello Yuri & +,
    I was successful to load the scenes into ocean template via gltfloader script.
    But the scenes dosn’t render its materials and textures. So probably I need to add some code to fix it (which sample is it?). On other hand, I wouldn’t like to write all that materials in code for each of that scenes, this is so hard. Is there any way to access the control over that objects loaded via gltf-script in puzzles?

    #16037
    Yuri Kovelenov
    Yuri Kovelenov
    Developer

    I think a better way would be just create the water material within 3ds Max or Blender. The simplest option could be to make 2 normal maps with animated UVs.
    https://blenderartists.org/t/animated-water-normal-map-tileable-looped/673140

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #16039
    Avatar
    abin
    Newbie

    hmm, this is clever! And I will try it out. But somehow It would be interesting for me to learn to combine the scenes and accessing them from puzzles, but ok…you are right. I let a try..

    #16054
    Avatar
    abin
    Newbie

    Yuri, animation of uv wont import into verge3d. I found even more efficient solution for the water shader – without normalmaps. Yes, how I said, the uvmap animation is not recognized by verge.
    Check the shader: https://www.youtube.com/watch?v=fmW8wOkKwec

    #16065
    Yuri Kovelenov
    Yuri Kovelenov
    Developer

    Yes, Verge3D cannot directly play back animation of node parameters. However, you can use Value nodes connected to relevant inputs and animate them instead.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.