Game Development Reference
In-Depth Information
Hotshot challenges
We have learned the basic concepts of how to write a custom shader using a surface shader
in Unity. Why don't we try out something to get more familiar with it by playing with the
properties to get a different type of rendering style?
• Adjust a value in the material editor in our shader to create a different lighting col-
or and effect
• Create a new ramp texture and apply it to the shader to see the new result of just
changing the ramp texture
• Try taking out some properties and using new properties such as cubes
• Try changing some parameters in the custom lighting function by adding a differ-
ent method to calculate the lighting direction
• Adjust some equations by changing plus to multiply or have more properties to get
the different types of rendering techniques
• You can also create your own custom lighting models
Search WWH ::




Custom Search