We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I was wandering how to define such texture in pyrender, In hunterloftis/pbr, use such code to define:
hunterloftis/pbr
func Glass(roughness float64) *Uniform { return &Uniform{ Color: rgb.Energy{1, 1, 1}, Roughness: roughness, Specularity: 0.042, Transmission: 0.91339, } } func ColoredGlass(r, g, b, roughness float64) *Uniform { return &Uniform{ Color: rgb.Energy{r, g, b}, Roughness: roughness, Specularity: 0.042, Transmission: 0.91339, // https://www.shimadzu.com/an/industry/electronicselectronic/chem0501005.htm } } func Gold(roughness, metalness float64) *Uniform { return &Uniform{ Color: rgb.Energy{1, 0.86, 0.57}, Metalness: metalness, Roughness: roughness, } } func Mirror(roughness float64) *Uniform { return &Uniform{ Color: rgb.Energy{0.8, 0.8, 0.8}, Metalness: 1, Roughness: roughness, } } func Copper(roughness, metalness float64) *Uniform { return &Uniform{ Color: rgb.Energy{0.98, 0.82, 0.76}, Metalness: metalness, Roughness: roughness, } }
In pyrender, I am confused about the param I should pass, can anyone give me a hint about that? Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I was wandering how to define such texture in pyrender,
In
hunterloftis/pbr
, use such code to define:In pyrender, I am confused about the param I should pass, can anyone give me a hint about that? Thanks
The text was updated successfully, but these errors were encountered: