Code: Select all
class MyPbsMaterial(hlms.PbsMaterial):
def __init__(self):
hlms.PbsMaterial.__init__(self)
def createTexturUnits(self, pass_):
hlms.PbsMaterial.createTexturUnits(self, pass_)
def setNormalrTexture(self, mapSlot, tex, textureAddressing, normalBlendFactor, BlendFactor):
hlms.PbsMaterial.setNormalrTexture(self, mapSlot, tex, textureAddressing, normalBlendFactor, BlendFactor)
def updateTexturUnits(self, textureUnitState, fragmentParams, lightList, s, index):
hlms.PbsMaterial.updateTexturUnits(self, textureUnitState, fragmentParams, lightList, s, index)