<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.povray.org/content?action=history&amp;feed=atom&amp;title=Reference%3ALayered_Textures</id>
	<title>Reference:Layered Textures - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.povray.org/content?action=history&amp;feed=atom&amp;title=Reference%3ALayered_Textures"/>
	<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=Reference:Layered_Textures&amp;action=history"/>
	<updated>2026-10-09T17:08:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.povray.org/content?title=Reference:Layered_Textures&amp;diff=10461&amp;oldid=prev</id>
		<title>Clipka: canonicalize some version numbers</title>
		<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=Reference:Layered_Textures&amp;diff=10461&amp;oldid=prev"/>
		<updated>2021-06-09T14:51:16Z</updated>

		<summary type="html">&lt;p&gt;canonicalize some version numbers&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:51, 9 June 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l34&quot; &gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;stones.inc&amp;lt;/code&amp;gt; in the standard include files directory for some&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;stones.inc&amp;lt;/code&amp;gt; in the standard include files directory for some&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;magnificent layered textures.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;magnificent layered textures.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; In versions predating POV-Ray &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;3&lt;/del&gt;.5, &amp;lt;code&amp;gt;filter&amp;lt;/code&amp;gt; used to work the same&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; In versions predating POV-Ray &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;v3&lt;/ins&gt;.5, &amp;lt;code&amp;gt;filter&amp;lt;/code&amp;gt; used to work the same&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;as &amp;lt;code&amp;gt;transmit&amp;lt;/code&amp;gt; in layered textures. It has been changed to work as filter should. This can change the appearance of &amp;amp;quot;pre &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;3&lt;/del&gt;.5&amp;amp;quot; textures a lot. The &amp;lt;code&amp;gt;#version&amp;lt;/code&amp;gt; directive can be used to get the &amp;amp;quot;pre &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;3&lt;/del&gt;.5&amp;amp;quot; behavior.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;as &amp;lt;code&amp;gt;transmit&amp;lt;/code&amp;gt; in layered textures. It has been changed to work as filter should. This can change the appearance of &amp;amp;quot;pre &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;v3&lt;/ins&gt;.5&amp;amp;quot; textures a lot. The &amp;lt;code&amp;gt;#version&amp;lt;/code&amp;gt; directive can be used to get the &amp;amp;quot;pre &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;v3&lt;/ins&gt;.5&amp;amp;quot; behavior.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; Layered textures must use the &amp;lt;code&amp;gt;texture&amp;lt;/code&amp;gt; wrapped around any pigment, normal or finish statements. Do not use multiple pigment, normal or finish statements without putting them inside the texture statement.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; Layered textures must use the &amp;lt;code&amp;gt;texture&amp;lt;/code&amp;gt; wrapped around any pigment, normal or finish statements. Do not use multiple pigment, normal or finish statements without putting them inside the texture statement.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Clipka</name></author>
	</entry>
	<entry>
		<id>https://wiki.povray.org/content?title=Reference:Layered_Textures&amp;diff=6916&amp;oldid=prev</id>
		<title>Jholsenback: 1 revision: Reference Migration Initial Load</title>
		<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=Reference:Layered_Textures&amp;diff=6916&amp;oldid=prev"/>
		<updated>2012-03-15T19:07:21Z</updated>

		<summary type="html">&lt;p&gt;1 revision: Reference Migration Initial Load&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:07, 15 March 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Jholsenback</name></author>
	</entry>
	<entry>
		<id>https://wiki.povray.org/content?title=Reference:Layered_Textures&amp;diff=6915&amp;oldid=prev</id>
		<title>Jholsenback: 1 revision: Initial Load (TF)</title>
		<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=Reference:Layered_Textures&amp;diff=6915&amp;oldid=prev"/>
		<updated>2012-03-11T22:27:52Z</updated>

		<summary type="html">&lt;p&gt;1 revision: Initial Load (TF)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Textures]]&lt;br /&gt;
[[Category:Object Modifiers]]&lt;br /&gt;
&amp;lt;p&amp;gt;It is possible to create a variety of special effects using layered&lt;br /&gt;
textures. A layered texture consists of several textures that are partially&lt;br /&gt;
transparent and are laid one on top of the other to create a more complex&lt;br /&gt;
texture. The different texture layers show through the transparent portions&lt;br /&gt;
to create the appearance of one texture that is a combination of several&lt;br /&gt;
textures.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
You create layered textures by listing two or more textures one right after&lt;br /&gt;
the other. The last texture listed will be the top layer, the first one&lt;br /&gt;
listed will be the bottom layer. All textures in a layered texture other than&lt;br /&gt;
the bottom layer should have some transparency. For example:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
object {&lt;br /&gt;
  My_Object&lt;br /&gt;
  texture {T1}  // the bottom layer&lt;br /&gt;
  texture {T2}  // a semi-transparent layer&lt;br /&gt;
  texture {T3}  // the top semi-transparent layer&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;In this example T2 shows only where T3 is transparent and T1 shows only&lt;br /&gt;
where T2 and T3 are transparent.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
The color of underlying layers is filtered by upper layers but the results&lt;br /&gt;
do not look exactly like a series of transparent surfaces. If you had a stack&lt;br /&gt;
of surfaces with the textures applied to each, the light would be filtered&lt;br /&gt;
twice: once on the way in as the lower layers are illuminated by filtered&lt;br /&gt;
light and once on the way out. Layered textures do not filter the&lt;br /&gt;
illumination on the way in. Other parts of the lighting calculations work&lt;br /&gt;
differently as well. The results look great and allow for fantastic looking&lt;br /&gt;
textures but they are simply different from multiple surfaces. See &amp;lt;code&amp;gt;&lt;br /&gt;
stones.inc&amp;lt;/code&amp;gt; in the standard include files directory for some&lt;br /&gt;
magnificent layered textures.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; In versions predating POV-Ray 3.5, &amp;lt;code&amp;gt;filter&amp;lt;/code&amp;gt; used to work the same&lt;br /&gt;
as &amp;lt;code&amp;gt;transmit&amp;lt;/code&amp;gt; in layered textures. It has been changed to work as filter should. This can change the appearance of &amp;amp;quot;pre 3.5&amp;amp;quot; textures a lot. The &amp;lt;code&amp;gt;#version&amp;lt;/code&amp;gt; directive can be used to get the &amp;amp;quot;pre 3.5&amp;amp;quot; behavior.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; Layered textures must use the &amp;lt;code&amp;gt;texture&amp;lt;/code&amp;gt; wrapped around any pigment, normal or finish statements. Do not use multiple pigment, normal or finish statements without putting them inside the texture statement.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Layered textures may be declared. For example&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#declare Layered_Examp =&lt;br /&gt;
  texture {T1}&lt;br /&gt;
  texture {T2}&lt;br /&gt;
  texture {T3}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;may be invoked as follows:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
object {&lt;br /&gt;
  My_Object&lt;br /&gt;
  texture {&lt;br /&gt;
    Layer_Examp&lt;br /&gt;
    // Any pigment, normal or finish here&lt;br /&gt;
    // modifies the bottom layer only.&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; No macros are allowed in layered textures.  The problem is that if a macro would contain a declare the parser could no longer guess that two or more texture identifiers are supposed to belong to the layered texture and not some other declare.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;If you wish to use a layered texture in a block pattern, such as &amp;lt;code&amp;gt;&lt;br /&gt;
checker&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;hexagon&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;brick&amp;lt;/code&amp;gt;, or in a &amp;lt;code&amp;gt;&lt;br /&gt;
material_map&amp;lt;/code&amp;gt;, you must declare it first and then reference it inside a&lt;br /&gt;
single texture statement. A patterned texture cannot be used as a layer in a&lt;br /&gt;
layered texture however you may use layered textures as any of the textures&lt;br /&gt;
contained within a patterned texture.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jholsenback</name></author>
	</entry>
</feed>