Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Multiple lighting models in one shader

$
0
0
Hi I was wondering if its possible to have multiple lighting models in one shader/material so for example a Lambert lighting model and a Blinn Phong lighting model . Reason I ask is cause I may want to have parts of a model lighted in a different way than others but still have that in one shader . Similiar to how you can have a map that allocates which parts of a model are reflective but rather which parts are lambert shaded or Blinn Phong etc Regards Charles

Viewing all articles
Browse latest Browse all 171066

Trending Articles



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