Python: How to manipulate disabled subroutines

ryanroye
vertex
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?

Replies

Sign In or Register to comment.