When to use 2D Parametric Drop Shadows In terms of performance: it would be best to add drop shadow to the sprite outside of Unity ,in photoshop. However, if you encounter special cases where parametric animations are required then Photoshop won’t cut it. An example would be if you need to have a sprite’s shadow… Read more How to Cheat Cheap 2D Parametric Drop Shadows (Soft / Hard) in Unity
Overview Texture optimization: baking, atlasing & channel packing Textures tend to cause the most common bottleneck in mobile games due to draw calls. We can take advantage of common tactics like baking, atlasing and channel packing to achieve texture optimisations. Note that atlasing is only an option when all of the given textures require the same… Read more Optimisation Tips: Asset optimisation tools for games
Key Things to optimise the amount of memory used up by shader variables. the amount of textures the shader is using. Efficiency: try to produce the same effect with reduced amount of code or data. Avoid using Unity’s internal shaders and Surface Shaders: they are designed to cover a broad number of general cases, vertex & fragment shaders can be… Read more Shader Optimisation Tips & Dealing with Platform Fragmentation
How does it work? each object is rendered in a pass for each light that affects it. each object might be rendered multiple times depending upon how many lights are within range. lit objects are rendered in a separate passes. if it is possible to manage light counts in your game: Forward Rendering can be a very… Read more Forward Rendering in Unity & checking render order with Frame Debugger
Follow My Blog
Get new content delivered directly to your inbox.