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.

ShadeMaterial suchas Water or Ocean Not Availble on v4.1?

Home Forums Programming ShadeMaterial suchas Water or Ocean Not Availble on v4.1?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #55781
    aqiang
    Customer

    Before v3d 4.0 v3d.Mesh is a function,After 4 v3d.Mesh is a Es6 class,
    Resulting in an error when calling the code,Screenshots of the correct and incorrect code are provided,What’s the solution? Please help

    Attachments:
    You must be logged in to view attached files.
    #55784

    Hi, indeed, you have to make a class-based Water object now. See example here.

    Verge3D’s Tech Chief
    FB | Twitter | VK

    #55798
    aqiang
    Customer

    Thanks for your help. I made a plug-in based on the new demo, but there are still errors in the reflection of the water surface. I don’t know how to improve it

    Attachments:
    You must be logged in to view attached files.
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.