<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to make doubleside? in Stingray Forum (Read Only)</title>
    <link>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/5921314#M2373</link>
    <description>&lt;P&gt;Ok, it did work...but...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still have to select materials individually&amp;nbsp;and hit "Make Unique".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other way to do it without having to even touch the materials?&lt;/P&gt;&lt;P&gt;Maybe a script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2015 18:51:05 GMT</pubDate>
    <dc:creator>fpmalard</dc:creator>
    <dc:date>2015-11-23T18:51:05Z</dc:date>
    <item>
      <title>How to make doubleside?</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/5897750#M2125</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I bring 3ds max modeling to stingray, but I can’t see backside, regarding this is there any other way to make doubleside? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/199188i56C468DBD4417A10/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="001.png" title="001.png" width="329" height="177" /&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/199187i2BE45868608E765E/image-size/medium?v=mpbl-1&amp;amp;px=-1" border="0" alt="001.png" title="001.png" width="247" height="182" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/199189i676C77F057D1B7AD/image-size/medium?v=mpbl-1&amp;amp;px=-1" border="0" alt="003.png" title="003.png" width="323" height="194" /&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/199190iB27F1AE5E9988BBE/image-size/medium?v=mpbl-1&amp;amp;px=-1" border="0" alt="004.png" title="004.png" width="294" height="188" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Nov 2015 15:02:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/5897750#M2125</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-07T15:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to make doubleside?</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/5898035#M2129</link>
      <description>&lt;P&gt;You need to set your material to not use backface culling.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/199245i09C084FB4BAFB12E/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="1.PNG" title="1.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a sphere with some faces removed. We can't see the backfacing faces, bcause backface culling is enabled for the default material's shader. Let's create a unique copy of the default material's shader so that we can disable backface culling.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/199246i3D5D1F38710D66C8/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="2.PNG" title="2.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select the material you want to change and then click the "Make Unique" button in the Property Editor. This creates a copy of the shader graph of the material from the core Stingray library, instead of just using a short/reference to it. Now that we have our own copy of it in our project, we can edit it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/199247i593434CFF2801E0B/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="3.PNG" title="3.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "Make Unique" button is now replaced by a "Open Shader Graph" button. Click it, and a shader editor node graph window will open.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/199248i3902D9747BE61BCA/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="4.PNG" title="4.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We actually don't need to edit any nodes. We just need to change a single setting. Click on the "Standard Base" node (labeled with a 1) to select it, and then in the Property Editor, change the "Face Culling" option from "Back" to "None (double sided)".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/199249i43FF97EAEE64B93C/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="5.PNG" title="5.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Close the material editor. Now you should be able to see the back faces of your mesh.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/199250i058ECAE093BE773F/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="6.PNG" title="6.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that you may or may not&amp;nbsp;see some odd results with shadows and surface normals on the backfacing polygons. I'm not an expert on Stingray so I can't tell you specifically how to fix that. It might not be a big deal for your use case. If it is, maybe someone else can offer suggestions. You could also consider duplicating the facebacking polyons in 3ds Max, flipping them, and then using the "Push" modifier with a small value to give your mesh a surface for both sides where you need it (hood, certain body panels, etc.)&lt;/P&gt;</description>
      <pubDate>Sun, 08 Nov 2015 04:18:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/5898035#M2129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-08T04:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to make doubleside?</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/5917542#M2322</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems all imported materials has a default Shader Import material set as their Parent material.&lt;/P&gt;&lt;P&gt;In a project you want all imported materials to be always 2-sided it would be tedious to repeat this procedure on every imported material coming from different sources like FBX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you select&amp;nbsp;any imported material it will point to the following folder as its Parent material location:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;C:\Program Files\Autodesk\Stingray\1.0.31.0\core\stingray_renderer\shader_import&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There, you will find the file "&lt;EM&gt;&lt;STRONG&gt;standard.material&lt;/STRONG&gt;&lt;/EM&gt;" which contains all inherited default properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, is there a way to change this template so all imported material get automatically se to "&lt;STRONG&gt;Face culling = none&lt;/STRONG&gt;" ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 13:30:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/5917542#M2322</guid>
      <dc:creator>fpmalard</dc:creator>
      <dc:date>2015-11-20T13:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to make doubleside?</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/5918241#M2334</link>
      <description>&lt;P&gt;You have a couple options.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One: you can use DXShaders for Stingray in Max and Maya and set up your material properly for double-sided and then they will import correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Two: you can change the default on the base standard shader node. That is located here:&amp;nbsp;core\stingray_renderer\output_nodes\standard_base.shader_node&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Defined here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;render_state = {
	culling_base = {
		inherit: ["core/stingray_renderer/shader_libraries/common#default"]
		state: {
			"defined(CULL_NONE)" = {
				cull_mode = "cull_none"
			}
			"defined(CULL_FRONT)" = {
				cull_mode = "cull_ccw"
			}
			"!defined(CULL_NONE) &amp;amp;&amp;amp; !defined(CULL_FRONT)" = {
				cull_mode = "cull_cw"
			}
		}
	}&lt;/PRE&gt;
&lt;P&gt;And then set here(where you will change to what you want all to be):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;	material_transfer = {
		inherit: ["core/stingray_renderer/shader_libraries/common#default"]
		state: {
			cull_mode = "cull_none"
			z_write_enable = "false"
			z_enable = "false"
		}&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 Nov 2015 18:56:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/5918241#M2334</guid>
      <dc:creator>dan.matlack</dc:creator>
      <dc:date>2015-11-20T18:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to make doubleside?</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/5920652#M2358</link>
      <description>&lt;P&gt;I see, but the default "cull_mode" is already "cull_none".&lt;/P&gt;&lt;P&gt;Shouldn't it be setting as 2-sided materials then?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm importing a FBX with embedded materials by the way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Further, all imported materials require you to click "Make Unique" to expose the "cull_mode" property which is not "cull_none" by default as I was assuming by the file settings you have shown (and I verified here).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 14:06:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/5920652#M2358</guid>
      <dc:creator>fpmalard</dc:creator>
      <dc:date>2015-11-23T14:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to make doubleside?</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/5921252#M2366</link>
      <description>&lt;P&gt;The defaul is set here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;	{
		type = "drop_down"
		display_name = "Face Culling"
		options = {
			"Back"					= "00000000-0000-0000-0000-000000000000"
			"Front"					= "c198c109-2cdf-49ee-af18-a982c23e2729"
			"None (double sided)"	= "8df1b8f7-17c2-4ae4-8c4e-25517ec1df46"
		}
		default = "00000000-0000-0000-0000-000000000000"
	}&lt;/PRE&gt;
&lt;P&gt;Currently set to 'Back'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can change that to double sided. This is in standard_base.shader_node.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 18:19:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/5921252#M2366</guid>
      <dc:creator>dan.matlack</dc:creator>
      <dc:date>2015-11-23T18:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to make doubleside?</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/5921314#M2373</link>
      <description>&lt;P&gt;Ok, it did work...but...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still have to select materials individually&amp;nbsp;and hit "Make Unique".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other way to do it without having to even touch the materials?&lt;/P&gt;&lt;P&gt;Maybe a script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 18:51:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/5921314#M2373</guid>
      <dc:creator>fpmalard</dc:creator>
      <dc:date>2015-11-23T18:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to make doubleside?</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/5921392#M2376</link>
      <description>If you set your base to be double sided in the script file, you do not have to do anything else. Just recompile your materials or reopen the project. All materials with the standard base would be double sided by default at that point. No need to reopen and set.</description>
      <pubDate>Mon, 23 Nov 2015 19:25:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/5921392#M2376</guid>
      <dc:creator>dan.matlack</dc:creator>
      <dc:date>2015-11-23T19:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to make doubleside?</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/6923699#M8029</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've followed all the steps that you mentioned above and changed the Standard Base material to be Face Culling=None (Double Sided)&amp;nbsp;&lt;SPAN&gt;in the script file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;default = "8df1b8f7-17c2-4ae4-8c4e-25517ec1df46"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All materials are Double Sided now but in the viewport does not appear to be so.&lt;/P&gt;&lt;P&gt;As a test, I've created a simple box with wrong normals and imported it into Stingray; as you can see in the screenshot, Face Culling is set to None (Double Sided) automatically from the script but in the viewport, it doesn't seem like it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot1.jpg" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/329778i5C468A019457016F/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot1.jpg" alt="screenshot1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still need to click Make Unique on every each material, and though Face Culling is already set to None (Double Sided), I still need to reselect it for the material to actually be Double Sided and appear correctly in the viewport as shown in the screenshot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot2.jpg" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/329780i6A67FCAE98D3FAAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot2.jpg" alt="screenshot2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something here or are there any solutions to this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 15:23:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/how-to-make-doubleside/m-p/6923699#M8029</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-06T15:23:45Z</dc:date>
    </item>
  </channel>
</rss>

