Python: How to manipulate disabled subroutines

Offline / Send Message
ryanroye vertex
By default, the most commonly-used subroutines (IE: Albedo, Surface, diffusion, reflectivity, etc) are enabled and are affected by functions like this:

MySurface.setSubroutine("reflectivity", "Metalness")

However, if I attempt to edit disabled subroutines like transparency, occlusion, and emission I get "Unknown Subroutine" errors. How do I make it so that I can edit these subroutines?


Sign In or Register to comment.