Just make a copy of object with ordinal material and change properties to not see in render but cast shadows