MCPcopy Create free account
hub / github.com/3DAnimals/3DAnimals / backward

Method backward

model/render/renderutils/ops.py:274–276  ·  view source on GitHub ↗
(ctx, dout)

Source from the content-addressed store, hash-verified

272
273 @staticmethod
274 def backward(ctx, dout):
275 nrm, wi, wo, linearRoughness = ctx.saved_variables
276 return _get_plugin().frostbite_bwd(nrm, wi, wo, linearRoughness, dout) + (None,)
277
278def frostbite_diffuse(nrm, wi, wo, linearRoughness, use_python=False):
279 '''Frostbite, normalized Disney Diffuse bsdf.

Callers

nothing calls this directly

Calls 1

_get_pluginFunction · 0.85

Tested by

no test coverage detected