Jump to content

Search the Community

Showing results for tags 'texture of material'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to UNIGINE Forums
    • News & Announcements
    • Getting started
  • Development
    • Content Creation
    • World Design
    • Rendering
    • Animation
    • Physics, Navigation and Path Finding
    • UI Systems
    • Sound & Video
    • Editor
    • C++ Programming
    • C# Programming
    • Networking
    • Sim IG (Image Generator)
    • VR Discussions
    • General
  • Improving UNIGINE
    • Documentation
    • Feedback for UNIGINE team
    • Bug Reports
    • Unigine SDK Beta feedback
  • Community
    • Add-on Store (https://store.unigine.com/)
    • Showcase
    • Collaboration
    • Tools, Plugins, Materials & Tutorials
    • General Discussions
  • Legacy
    • UnigineScript

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 1 result

  1. I obtain the material by its name, and achieve the diffuse texture of the material. I clear the texture,and create a new 2D texture for it. Below is the code : _diffuseIds = mat->findTexture("diffuse"); _textures = mat->getImageTexture(_diffuseIds[index]); _textures->clear(); _textures[index]->create2D(_camwidth, _camheight, Unigine::Image::FORMAT_RGBA8, Unigine::Texture::FILTER_LINEAR | Unigine::Texture::USAGE_DYNAMIC); I want to create a new texture for the material ,but it still always access the original image texture. Is there an idea to make the new create texture unable to access the original image texture?
×
×
  • Create New...