• Unity shader to achieve more complete lighting effect


    This example for you to share the unity shader to achieve lighting effect of the specific code, for your reference, the specific content is as follows design sketch: The shader is attached to the ball. The light needs to turn on shadows in the property panel. // Upgrade NOTE: replaced ‘mul(UNITY_MATRIX_MVP,*)’ with ‘UnityObjectToClipPos(*)’ Shader “Unlit/lightFull” […]

  • Lighting rendering — simulating lighting effect with canvas


    illumination We can see objects because light shines on them and then reflects back into our eyes. There are many influencing factors: the position of the observer, the position of the light source, the color of the light, the color of the surface of the object, the material and the roughness, etc. In the future, […]