Skip to content

Can I displace specular data with a uvmap in the class Materials or in the class Lights? #1040

@haoxurt

Description

@haoxurt

When I set Materials and Lights as following strategy:
materials = Materials(device=device, ambient_color=((1, 1, 1),), diffuse_color=((1, 1, 1),), specular_color=((1,1,1),), shininess=64, ) lights = PointLights(device=device, location=[[0.0, 0.0, 2.0]], ambient_color=((0.7, 0.7, 0.7),), diffuse_color=((0.3, 0.3, 0.3),), specular_color=((0.3, 0.3, 0.3),), )
I got some highlights in the final render image.
Now, I want to control the appearance of highlights. Can I input a mask which defines location that highlight should appear?

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions