Reconstructing Shader Inputs with SlangPY and PyTorch

Shaders define visual effects by transforming inputs into rendered outputs. But what if we could reverse that process—recover shader inputs directly from the final image? Or adjust parameters so that the output matches a given reference? With SlangPY and PyTorch, we can. With SlangPY and PyTorch, shader inputs become trainable parameters. Gradient descent lets you [ ] The post Reconstructing…