xcube

  • 7 janv. 2017
  • Inscrit 1 nov. 2016
  • Happy new year!
    Thank you for your help and information. I will try to apply it in practice.

  • @ToddRivers Thank you very much for your help!
    But I was not able to apply your shader SpriteDepthNormalsTexture.shader camera. I'm not a great expert in this field.

    Nevertheless, I tried to create your shader and script UseShade.cs

    public class UseShade : MonoBehaviour {
    
    public Camera custom_CAMERA;
    public Shader myShade; 
      
    void Start () {
          custom_CAMERA.RenderWithShader(myShade, "_forVol");
    }
    }
    

    But it did not change anything in the scene. What am I doing wrong? :S
    If it is interesting to test the project spread. (Unity5.5.0f3)
    https://drive.google.com/open?id=0B3A2ZpysfaxBNm9MaXRlY3lUSjg

  • Unity 5.4.0f3(MAC OSX) and 5.5.0f3(WIN 8.1)

    spine editor 3.5.04

    Spine-Unity runtime unitypackage (UTC - 2016 December 19)

    All works well :mmm:

  • Hey. I'm trying to use volumetric in my project.
    I'm having difficulty with the imposition on the volumetric character.
    Character appears transparent and looks nice smooth edges. Either the light is working properly, but the character at the same time gets rough edges.

    I tried all the options of the shader settings could find. However, the ideal solution is not found.
    Please help find a solution that will help to get smooth edges and realistic behavior of light.

    The following video shows the essence of the problem.

  • Thanks for the help! That helped.

    I found another error. When imported Spine-unity runtime into a new project without 2DToolkit these errors.

    Assets/spine-unity/Asset Types/SkeletonDataAsset.cs(41,24): error CS0246: The type or namespace name `tk2dSpriteCollectionData' could not be found. Are you missing a using directive or an assembly reference?
    
    Assets/spine-unity/Modules/TK2D/SpriteCollectionAttachmentLoader.cs(39,25): error CS0246: The type or namespace name `tk2dSpriteCollectionData' could not be found. Are you missing a using directive or an assembly reference?
    
    Assets/spine-unity/Modules/TK2D/SpriteCollectionAttachmentLoader.cs(47,58): error CS0246: The type or namespace name `tk2dSpriteCollectionData' could not be found. Are you missing a using directive or an assembly reference?
    

    I hope it somehow help you.

    • Modifié
  • I tried Importing the latest spine-unity runtime (Compatible with Spine 3.5.x (Last updated: UTC - 2016 December 2)) to Unity 5.4.3f1
    After importing, I encountered this error

    Assets/spine-unity/Editor/SpineEditorUtilities.cs(1082,59): error CS0122: `Spine.Unity.SkeletonDataAsset.Reset()' is inaccessible due to its protection level
    

    How can I solve this problem? Thank you!

  • Thanks for the answer! I think it is useful to me too.
    I made a video to show the situation. My main problem lies in how to create a collection of sprites in 2DToolkit for Spine.

    I think that the problem is in the names of sprites. So I tried to create two different atlas for goblin and goblingirl. But the sprites in the atlas are placed differently, and they wrongly imposed on meshes.
    Tell me if there is a way out of this situation?


    06 ноя 2016, 01:25


    It seems I myself understood. Just had to do everything step by step yourself.
    Now I have everything works fine. Everything was very easy! More work shift SD or HD sprites 2DToolkit and it's very cool!

    I am very pleased that bought Spine. This is the best I've seen from a 2D animation programs.

    I have one more question. Is it possible to programmatically change the path to the sprite as shown in the video, but in Unity?

    • Modifié
  • Hello!
    I recently purchased the Spine and is very pleased with this instrument. Now to deal with the basic things.
    I'm trying to export a standard Goblin (goblins-mesh.spine). But I do not know how to organize your workflow by changing skins.

    In Unity, I use Mechanim (SkeletonAnimator) with 2DToolkit. I wonder how it will be the process of changing the skin. If it's done through the script which methods have to do this?
    I would be glad if someone would write a brief workflow steps. The main point with 2DToolkit sprite sheet

    Thank you