smallarrows.GIF
titlebar_image

Unity Lighting, Texture, Glass, Reflection Probe

unity_textures

In Unity
Add some primitives

Add GameObject->3D Object->Cube etc.



Add some materials
Select Assets->Create->Material.
Double click the material in Assets below.
Drag and drop a material onto a primitive



Albedo Color Maps
Make some 256x256 pixel tiff files in Photoshop and save the files into your Assets folder.
Select Material you would like to map.
Drag the map from Assets onto the Albedo square in the Inspector.



Transparency Maps

In Photoshop
Make a 32x32 pixel dot map with an Alpha channel in Photoshop.

Use the Elliptical Marquee tool to select a circle     PS_elliptical_marquee
Use Select->Save Selection...  The defaults are good
    
Select the Window->Channels window
          Select the Alpha1 channel
          Paint the transparent sections black, opaque white, and translucent gray.

Save the file into your Unity Assets
folder as a tiff.



In Unity
Select a Material you would like to map in Assets.

Drag the transparency map from Assets onto the Albedo square in the Inspector.

Change Rendering Mode to Cutout

Change Tiling to a higher number for repeated texture.
Notice your object is single sided, you will need to model the inside and outside in Maya.
Extrude is great for this.
unity_trans_map



How to create a Normal Map (bump)
In Photoshop
Open an image file.
Select Filter->3D->Generate Normal Map...
Save the file as a new name into your Unity Assets folder.

In Unity
Select Material you would like to map in Assets.

Drag your normal map from you Assets onto the Normal Map in the Inspector
Click the Fix Now button
Adjust the bumpiness of the map to the right.
unity_normal_map




Import a new Skybox
Choose the
Asset Store tab next to the Scene window  (or Window Asset Store)
     Type skybox in the search bar, Select Free Assets
     select
Download and Import

Put the main view window back to Scene

Choose Window->Rendering->Lighting Settings
    
Click the unity_dot to change the Skybox Material to the skybox you imported.
     You can also make your own.





Glass and Reflection with Post Processing
unity_glass


Select Assets->Create->Material
.
Double click the material in Assets below.

Change Shader to Autodesk Interactive  in the Inspector
Change Rendering Mode to Transparent

Change the Albedo color to Value 7 and Alpha to 15  transparent

Increase Metalic   (reflectivity)
Increase Roughness
  (shiny dull)

Drag a normal map from your Assets
onto the Normal Map in the Inspector
Click the Fix Now button
Adjust the bumpiness of the map to the right, keep low

Drag and drop the material onto the model.

glass_normal



Reflection Probe for shiny glass and chrome
Select GameObject->Light->Reflection Probe
Change the Position to 0,0,0 in the Inspector
Make sure your objects are within the cube area. Use this editor to adjust. unity_reflection_probe

Change the Type
to Realtime     (default Baked)
Change the
Clear Flags and Background color to match your camera

Increase Smoothness or Metalic
on Materials to change the reflectivity


smallarrows.GIF

© 1988-2022 34 years Jennifer Steinkamp