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.

load scene materials and textures

Home Forums Programming load scene materials and textures

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #16012
    Anonymous
    Inactive

    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

    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

    Chief 3D Verger | LinkedIn | Twitter

    #16039
    Anonymous
    Inactive

    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
    Anonymous
    Inactive

    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

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

    Chief 3D Verger | LinkedIn | Twitter

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