In this example we'll show how you can use the mapping image directly to do a custom material casting.