- Home /
What are vertices (vertex shaders) on mobile?
What are vertices and how to reduce them for optimal performance? (Is the stats window in game mode useful to indicate performance on also mobile?)
Vertices are points used by the models / objects in your game. Anything that will be drawn in your scene has a set of governing vertices.
You can reduce them by either using lower resolution objects, fewer objects in general, and/or an automated Level-of-Detail (LOD) system to swap out higher res models for lower res versions when far from the camera.
Are you getting poor performance or is this a preemptive question?
Thank you for ur response, this is a preemptive question because I have some good quality scenes but I'am now not sure if it will run smoothly on mobile. Thats why I want to know what a good indicator is for telling u how it wil run on modern mobile phones.
Answer by kamran-bigdely · Mar 11, 2019 at 05:42 PM
Unity uses two different method for calculating the lighting effect of light sources:
Vertex Lighting : faster calculations, lower quality, supported by older devices and phones
Pixel Lighting: slower (lots of calculations), higher quality, supported only by new phones. Light cookies, normal mapping and realtime lighting can only be performed by pixel lighting method.
More information here.