The shading operation consist of let a background picture be rendered with different gradients of colors or light/dark. The {shading} tag is related to questions in which a shade operation is required.
22
votes
4answers
2k views
How to draw a shaded sphere?
Andrew Stacey pointed out that the Rosetta Code entry "Draw a Sphere" doesn't have a TikZ entry yet.
Is there a way to draw a "properly" shaded sphere using TikZ? The ball shading would seem an ...
12
votes
3answers
2k views
Is there a way to tune ball shading in TikZ ?
I want to create a Go stone in TikZ. "ball color" option in node style is almost OK.
Here is my result:
But I don't like the stones, they are "too balish".
The "reflection" should be less spot-on ...
8
votes
1answer
541 views
How to create a ball shading and to customize 3D lighting manually?
TikZ shading=ball will create a perfect 3D ball perspective, but it has no option to change the lighting angle, the contract, radius of light, etc (or I am not aware of). I tried to create a 3D ball ...
9
votes
2answers
3k views
Cylinder shading with PGF/TikZ
I'm trying to create a cylinder with 3D shading effects. The cylinders in the picture are standing vertically, and have a body and an end. I'd like the body to be shaded so that it varies uniformly ...
7
votes
1answer
494 views
How to shade mindmap concepts?
I tried to add a shade on my mindmap's concepts with
\begin{tikzpicture}[mindmap, text=white,
every concept/.append style={circle,shading=ball, ball color=black!20!white!20}]
but the problem is ...
12
votes
3answers
632 views
TikZ: radial shading of a ring
I would like to have a radial shading of a ring, from inner color (red) at inner radius r1 > 0 to outer color (white) at outer radius r2 > r1. But with
\filldraw[even odd rule,inner color=red,outer ...
4
votes
1answer
1k views
Tikz: How to encapsulate shade in node?
I have this shaded circle:
\shade [ball color=black!80!white] (0,0) circle (1);
Is it possible to encapsulate it with node style?
Including fixing circle radius?
12
votes
3answers
342 views
Shading an area bounded by curved paths between nodes
I am drawing a graph of sorts in TikZ, and I have several connected nodes in a cycle, and I would like to shade the area bounded by paths between those nodes. My problem is that the shading is not ...
5
votes
3answers
4k views
How to change the background color of \framebox?
I'm trying to change a picture drawn using the plain picture environment and I need to change the background color of certain \framebox to lightgrey. Is it possible?
I know that there are more ...
3
votes
4answers
5k views
Beamer: How to remove shadow under the title on a given frame?
On one particular frame I would like to remove the shadow that the theme I am using inserts under the title. The reason is that with a black background (which I use only on this frame), it looks quite ...
11
votes
2answers
146 views
TikZ/PGF - switching off shading
Is there a way to switch off shading for one node, in a scope where the nodes are shaded?
In other words, I want something like shading=none, but did not find it. Motivation:
\documentclass{article}
...
5
votes
1answer
841 views
Fading a path in TikZ
I want to draw a path/plot in TikZ whose shade depends on the coordinate. For example, I want say something like
\draw[color=black!\x] plot coordinates{ coord1 ... coord100};
i.e. the shade of the ...
4
votes
1answer
1k views
Beamer round blocks without fading
I want to define a custom block in beamer.
Here are my definitions:
\documentclass[svgnames]{beamer}
\usepackage{xcolor}
\setbeamertemplate{blocks}[rounded]
\setbeamercolor{block ...