For a final major feature of Star Wars: Commander, we created 'Prestige' level of assets for players. This included a brand new 'gold' look. I added basic matcap shading (upper left), but in Commander, the camera or the assets never rotate, so even when panning across your level, the gold highlight effect wouldn't update. We came up with a solution to fake the movement, by roating the UVs based on camera-to-asset angle. We also tied this to the phone's accelerometer for added effect. Bottom row is what I ended up with. Upper right is a full screen UI shader I made for the UI team, uses a single animator and a shared material.


html5 video player code by EasyHtml5Video.com v3.9.1