Home Marmoset

Python: How to manipulate disabled subroutines

ryanroye
polycounter lvl 4
Offline / Send Message
ryanroye polycounter lvl 4
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

  • EarthQuake
    Options
    Offline / Send Message
    ryanroye said:
    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?

    This may be a bug, please send your Python code to support@marmoset.co and we'll have a look at it.
  • ryanroye
    Options
    Offline / Send Message
    ryanroye polycounter lvl 4

    This may be a bug, please send your Python code to support@marmoset.co and we'll have a look at it.
    E-mail sent. Thanks!
Sign In or Register to comment.