Results 1 to 3 of 3

Thread: Double sided texture not work

  1. #1
    Junior Member
    Join Date
    Jun 2018

    Double sided texture not work

    Hi everyone. Sorry for my bad English. I create dae file to export to the web app. My surface has texture only on back (one side of surface). I want it has face and back texture. In collada spec 1.5 (page 26) i see that we should apply semantic attribute with double sided:
    <input semantic="POSITION" source="#grid-Position"/>
    <newparam sid="blah">

    But when i do this nothing changed. I paste this code:

    <effect name="Material0-fx" id="Material0-fx">
    <newparam sid="Image-Material0-surface">
    <surface type="2D">

    <technique id="Material0-fx-COMMON" sid="COMMON">
    <color>1 1 1 1</color>
    <texture texture="Image-Material0-sampler" texcoord="CHANNEL1" />
    <color>0.00784313725490196 0.00784313725490196 0.00784313725490196 1</color>

    What is wrong in my code that texture applied only for back of surface?

  2. #2
    Join Date
    Dec 2018
    I have the same problem

  3. #3
    Senior Member
    Join Date
    Mar 2016
    I think there is a very recent topic here about this exact thing... maybe PhantomPlum's.

    My advice is to use <bool> for this semantic. I think the manual's example is a bad copy/paste job. That said, if you set it up correctly, like every other "param" then, it is just that your software is not implementing the feature.

    EDITED: Notice your code doesn't have the value. It looks like that is a required field.
    Last edited by Mick P.; 12-20-2018 at 12:33 PM.
    This account can Moderator spam in the COLLADA forum.
    ColladaDOM 3 (COLLADA-DOM 2016)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean