Message Boards Message Boards

GROUPS:

Glow textures?

Posted 9 years ago
3500 Views
|
2 Replies
|
6 Total Likes
|
Is there a way to specify that a texture map should have "glow" colors, ie, flat colors (like Glow[ ] colors) that render with Lighting->None?
2 Replies
Do you mean something like this? I was able to figure this out only for graphics primitives. I'm not sure yet how to make it work with plotting functions.
Manipulate[Graphics3D[{Glow[c], 
   Texture[ExampleData[{"ColorTexture", "WhiteMarble"}]], 
   Polygon[{{-1, -1, -1}, {1, -1, -1}, {1, 1, -1}, {-1, 1, -1}}, 
   VertexTextureCoordinates -> {{0, 0}, {1, 0}, {1, 1}, {0, 1}}]}, 
   Lighting -> None], {c, Red}]
Try "Ambient" lighting.
Lighting -> {{"Ambient", col}} 
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract