Popular posts from this blog
Lighting in Unity - Emissive light
https://www.youtube.com/watch?v=VnG2gOKV9dw&feature=emb_logo Create a cube in Maya. Scale. Select. Mesh Display. Click reverse. Click in viewport. Model becomes black. Display>Polygons>Backface culling https://www.youtube.com/watch?v=nX_iasG6smg&feature=emb_logo Maya>create cube>File>Send to Unity Position and scale - use hatch with magnet snap symbol, in toolbar under scene, to position and snap to the grid Import stock asset - in this case a mug to be continued.... Position the camera so it looks into the scene Remove the default directional light, as this is to be an indoor scene We can either create lights, or we can create an object with an emissive material Right click and create plane Turn off light (lightbulb underneath scene tab) so we can see what we're doing Set scale of plane to X 0.2 Y 1 Z 0.2 Right click on the word Transform (blue) in the inspector>reset position Rotate -90 on the Z axis Position slightly away from the cube wall Create new ...
Reflections in Unity
Verbatim extracts from https://learn.unity.com/tutorial/introduction-to-lighting-and-rendering#5c7f8528edbc2a002053b52f Reflections Reflection Source By default, objects in a scene are rendered using Unity’s ‘Standard Shader’. The Standard Shader is a 'physically based shader' (PBS). This attempts to accurately represent the behavior of light on materials by mimicking physical properties such as reflectivity and the principles of ‘energy conservation’ which exist in the real world. When using the Standard Shader, every material has a degree of reflectivity based on its ‘specularity’, or ‘metalness’. Without hardware powerful enough to ray trace reflections in realtime we have to rely on pre-rendering reflections. We do this with a cubemap - a 6-sided image of the world derived either from the sky, or from a ‘Reflection Probe’ which renders the environment from a specific point in space, writing the results to a texture. This is then blended with other lighting and surf...

Comments
Post a Comment