Extend BRDF
This commit is contained in:
@ -114,6 +114,10 @@ class ParserState:
|
||||
self.out_transmission_rough: floatstr = '0.0'
|
||||
self.out_thin_wall: floatstr = '0.0'
|
||||
self.out_tangent: vec3str = 'vec3(0.0)'
|
||||
self.out_subsurface_scale: floatstr = '0.05'
|
||||
self.out_subsurface_anisotropy: floatstr = '0.0'
|
||||
self.out_coat_ior: floatstr = '1.5'
|
||||
self.out_coat_tint: vec3str = 'vec3(1.0)'
|
||||
|
||||
def reset_outs(self):
|
||||
"""Reset the shader output values to their default values."""
|
||||
@ -140,6 +144,10 @@ class ParserState:
|
||||
self.out_transmission_rough = '0.0'
|
||||
self.out_thin_wall = '0.0'
|
||||
self.out_tangent = 'vec3(0.0)'
|
||||
self.out_subsurface_scale = '0.05'
|
||||
self.out_subsurface_anisotropy = '0.0'
|
||||
self.out_coat_ior = '1.5'
|
||||
self.out_coat_tint = 'vec3(1.0)'
|
||||
|
||||
def get_outs(self) -> Tuple:
|
||||
"""Return the shader output values as a tuple."""
|
||||
@ -152,7 +160,9 @@ class ParserState:
|
||||
self.out_sheen, self.out_sheen_rough, self.out_sheen_tint,
|
||||
self.out_clearcoat, self.out_clearcoat_rough,
|
||||
self.out_transmission, self.out_transmission_rough,
|
||||
self.out_thin_wall, self.out_tangent)
|
||||
self.out_thin_wall, self.out_tangent,
|
||||
self.out_subsurface_scale, self.out_subsurface_anisotropy,
|
||||
self.out_coat_ior, self.out_coat_tint)
|
||||
|
||||
|
||||
def get_parser_pass_suffix(self) -> str:
|
||||
|
||||
Reference in New Issue
Block a user