Message Boards Message Boards

1
|
6126 Views
|
2 Replies
|
6 Total Likes
View groups...
Share
Share this post:

Glow textures?

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
Try "Ambient" lighting.
Lighting -> {{"Ambient", col}} 
POSTED BY: Yu-Sung Chang
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}]
POSTED BY: Vitaliy Kaurov
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