Quantcast
Channel: Latest Questions by AaronBrownLM
Viewing all articles
Browse latest Browse all 81

How do you make light only hit part of a mesh?

$
0
0
I'm trying to use "layer" to select what part of my scene is affected my a directional light. Problem is, even with Pro Builder installed in Unity, if I set a particular peice of a mesh to a certain layer name, it sets the whole mesh to be on that layer. So the directional light hits the whole mesh. I want the light to only hit specific polygons on the mesh, not the whole mesh. Is there a way to set the layer of specific polygons? How about setting the layer name of a specific material, and then putting that material on only those polygons? I can't find any option to set the layer name for a material either. Seems like layers only apply to meshes, and only to the whole mesh. Any ideas?

Viewing all articles
Browse latest Browse all 81

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>