(ctx, dout)
| 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 | |
| 278 | def frostbite_diffuse(nrm, wi, wo, linearRoughness, use_python=False): |
| 279 | '''Frostbite, normalized Disney Diffuse bsdf. |
nothing calls this directly
no test coverage detected