Unity Community


Results 1 to 4 of 4

  1. Posts
    14

    Is it possible to have multiple settings for the same project? (mobile, Web, etc)

    Just as the title says, i wanted to know if theres is a automatic way of -when building- unity could switch the material for simpler ones (or switch the shader to simpler techniques) according to the project type. for example. if I have a Web project, there could be some fallback material when i publish to mobile. Another cool option would to have some toggle to switch between texture sizes according to building as well. for example, for WEB i could leave the texture as it is, but for mobile i could ask it to crop 1/2 size.

    Or do I have to start a new project and copy everythnig and tweak materials there?

    Thanks


  2. Location
    Zürich, Switzerland
    Posts
    26,572
    No need to do that.
    All you need to do is write your shader using shaderlab LOD tags and then use the global shader lod level to limit it depending on the platform and hardware (cause just cause its web or just cause its mobile does not mean much, there are users with desktop crapier than ipad 3, significantly crapier)

    And the texture size is already present, see quality settings dialog


  3. Posts
    14
    thanks i found one thing though, it shows nothing on inspector if i select a DDS texture, but if select a TGA texture it shows the options you said.

    strange =/

  4. Volunteer Moderator
    Posts
    23,678
    Quote Originally Posted by dudeabot View Post
    it shows nothing on inspector if i select a DDS texture, but if select a TGA texture it shows the options you said.
    A DDS texture is already in a native format, so there's nothing to do.

    --Eric
    SpriteTile: new tile system that works seamlessly with Unity 4.3 sprites
    FlyingText3D: dynamic 3D text with TTF fonts | Vectrosity: fast & easy line drawing
    Nifty utilities! Stitch terrains together - runtime model importing - file browser - fractal landscapes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •