Unity Community |

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
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
thanksi 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 =/
FlyingText3D: dynamic 3D text with TTF fonts | Vectrosity: fast & easy line drawing | Fractscape: fast & fun terrains
Nifty utilities! Stitch terrains together - runtime model importing - file browser