Unity Community


Page 70 of 146 FirstFirst ... 2060686970717280120 ... LastLast
Results 1,381 to 1,400 of 2920

  1. Location
    Lyon
    Posts
    34
    Quote Originally Posted by Neptune_Imaging View Post
    Those are some awesome examples stramit...I am still learning how to use Manual blending so i can add layers of damage on my objects based on contact... will you be able to demonstrate that?
    Just a thought here, if you're not yet using vertex painting on your models maybe you could paint vertices based on collision contact via scripting (with different strength of color for more damage maybe) and in SSE create a shader that is able to answer to that vertex color by blending the regular model maps with a "damaged" map.

    You could even create several "damaged" maps and distribute them on the RGBA channels of your models for more detail and precision.


  2. Location
    Boston, Ma
    Posts
    2,440
    I think stramit and few others told me that before...i am working on a model now and it has tangents for normal mapping...i've never used vertex painting before and my shader will have three extra inputs for diffuse/NM/Spec/Gloss for each damage texture and yes, those damage textures will have alphas to seamlessly blend it in... (the default alphas are only 8bit...i am using 32-bit textures)

    I am also not a programmer, so i have to learn how to do that


  3. Location
    Lyon
    Posts
    34
    If you already have the damage textures I would be glad to help. But if you're really not a programmer you'll have to be at least in order to call a function doing what I suggested you. I can help only if you let me put the graphs and source code here in the forums, that's the only condition (Also I must have the damage textures you intend to use to be as close as possible of your working "conditions", and tell me what channels you use for your main models...).


  4. Location
    Boston, Ma
    Posts
    2,440
    I'll see what i can do... i am working on an alt costume for a model...I will post my first WIP thread here soon. (I come from a CG background so vertex painting and real time stuff is still new to me...)

    EDIT: I will be using the Diffuse/Normal/Spec/Falloff channels of my shader to layer on my damage textures
    Last edited by Neptune_Imaging; 03-29-2011 at 07:43 AM. Reason: added more info


  5. Location
    Lyon
    Posts
    34
    Well actually I come from a CG background too, I've been working with unity for 6 months now. I'll wait for the WIP, of course you can contact me if you wish a vertex-painted Damage script/shader.


  6. Location
    Boston, Ma
    Posts
    2,440
    Quote Originally Posted by Shibito View Post
    Well actually I come from a CG background too, I've been working with unity for 6 months now. I'll wait for the WIP, of course you can contact me if you wish a vertex-painted Damage script/shader.

    Will that work with my custom shader? I also use SSE, and i am looking at your Vertex painting offset shader video...neat stuff . I mainly want to use this on character models, (my shader is kinda performance heavy but won't know until i test it). And I am using Unity (non-pro)


  7. Location
    Lyon
    Posts
    34
    Yeah as I told you I can actually dynamically in scripting see wich vertex is being touched when a collision occurs, paint the vertices with for exemple a red color, set the strength of the color to be the force in which the model was touched, and in SSE bind this color to a texture map which behaves correctly to the normal maps and so on. If you saw my video/shader, you also saw that I can basically BLEND colors too wich can give pretty good results say you want to have damage + blood, and want the blood to be reflective etc. As I did it for my shader theorically it isn't really that hard so. ^^


  8. Location
    Boston, Ma
    Posts
    2,440
    Sweet man...i will definitely keep you posted... I still need to learn how to code ... my WIP will come soon


  9. Location
    Lyon
    Posts
    34
    No problem, glad I can help. And sorry for deviating your thread Stramit !


  10. Posts
    30
    Quote Originally Posted by Frank Oz View Post
    ..Did someone hear something?


    No really tho, ignored with what? What was the question?
    see im still ignored lol...
    chkkll.deviantart.com


  11. Location
    That creepy house on the end of every street
    Posts
    1,564
    Quote Originally Posted by chkkll View Post
    see im still ignored lol...
    Well he said he'd be answering and doing demo versions for all those who asked questions, but it'll take him a while. So hang in there, he might have something in the works for you? For my part, I didn't know how to fix your problem, or what was wrong with it, actually I didn't quite understand at all, just I get the impression toon shaders are some other kind of animal and people always seem to have comparability problems with them.
    Resident Lightmap Whore and person voted least likely to take the Apocalypse seriously.
    I'm a PC, and hiding porn on your computer was my idea.
    Support these plugins: Playmaker, uLink, SSE and Volume Grass. Or I'll set Miss Piggy on you.
    Hire niosop - awesome programmer, a genius actually!
    It's too hot to work right now!


  12. Posts
    30
    hahaha i loved the part toon shader being an animal... i dont have any problem with it actually.. i dont know how to achive toon outline with his shader editor...
    chkkll.deviantart.com


  13. Location
    That creepy house on the end of every street
    Posts
    1,564
    Quote Originally Posted by chkkll View Post
    hahaha i loved the part toon shader being an animal... i dont have any problem with it actually.. i dont know how to achive toon outline with his shader editor...
    Off the top of my head, something to do with fresnel or ramp lighting but based on view distance might do it. But again, I'm really aren't sure. The lighting and vertex side of things are all a bit mystical to me, like a girls bra when I was at school, I knew they existed, I knew what they did, but I'd be damned if I knew how to operate them..
    Resident Lightmap Whore and person voted least likely to take the Apocalypse seriously.
    I'm a PC, and hiding porn on your computer was my idea.
    Support these plugins: Playmaker, uLink, SSE and Volume Grass. Or I'll set Miss Piggy on you.
    Hire niosop - awesome programmer, a genius actually!
    It's too hot to work right now!


  14. Posts
    7
    Hi Stramit,

    I had a go at your UV pan example and was able to get my shader to work. Thanks a lot.

    I have an SSE question. I tried installing version Beta 4.0 but I can't get the preview window to work. It just appears pink. Could this be because we are using an older version of Unity? We are currently using 3.0.0f5. I know there some large descrepencies in shaders between 3.0 and 3.2. Anyways looks like we might be switching to 3.2 soon so I will try again and keep you posted!

    This is the error message that shows up in the compiler:

    (!) Shader error in 'ShaderEditor/EditorShaderCache': Program 'surf', cannot locate suitable resource to bind parameter "Custom" at line 96
    (!) Shader warning in 'ShaderEditor/EditorShaderCache': Program 'surf', implicit cast "float4" to "half3" at line 121

  15. Code Maker

    Location
    Canberra
    Posts
    849
    Quote Originally Posted by morris View Post
    It doesn't crash SSE if that's what you mean. It just defaults to the pink material. (Same as when you write broken code). Thanks for the demo and the quick reply, going to have a go at it and keep you posted!
    Can you send me the graph that makes the pink material... that should not happen so there is a bug I need to fix there.
    Have you tried the Strumpy Shader Editor?

  16. Code Maker

    Location
    Canberra
    Posts
    849
    Quote Originally Posted by morris View Post
    Hi Stramit,

    I had a go at your UV pan example and was able to get my shader to work. Thanks a lot.

    I have an SSE question. I tried installing version Beta 4.0 but I can't get the preview window to work. It just appears pink. Could this be because we are using an older version of Unity? We are currently using 3.0.0f5. I know there some large descrepencies in shaders between 3.0 and 3.2. Anyways looks like we might be switching to 3.2 soon so I will try again and keep you posted!

    This is the error message that shows up in the compiler:
    For Beta 4 you need unity 3.2/3.3 a lot of the shader API stuff has changed internally.
    Have you tried the Strumpy Shader Editor?

  17. Code Maker

    Location
    Canberra
    Posts
    849
    Quote Originally Posted by Neptune_Imaging View Post
    Those are some awesome examples stramit...I am still learning how to use Manual blending so i can add layers of damage on my objects based on contact... will you be able to demonstrate that?
    Bah! I completely forgot you wanted this. Sorry man, I'll do that tonight!
    Have you tried the Strumpy Shader Editor?

  18. Code Maker

    Location
    Canberra
    Posts
    849
    Quote Originally Posted by Zogg View Post
    I've a very strange problem with this shader. I downloaded your package, loaded the "Distortion" scene and everything was fine. Then I created a similar shader with some modifications, but the distorted image was upside down. So I reloaded your demo but suddenly the distorted image of your shader was upside down, too. Even when I restart the computer, create a wholly new project, then re-download and import your package, the distorted image is upside down :


    Does anyone know how to fix this problem ?
    Ah, the old DX and AA issue. I know how to fix this and it will be in Beta4.1 (it's caused by annoying dx antialiasing settings).
    Have you tried the Strumpy Shader Editor?

  19. Code Maker

    Location
    Canberra
    Posts
    849
    Quote Originally Posted by chkkll View Post
    see im still ignored lol...
    Outline shader? It's in the demo pack, you should have read the post fully!
    Have you tried the Strumpy Shader Editor?


  20. Location
    Boston, Ma
    Posts
    2,440
    Quote Originally Posted by stramit View Post
    Bah! I completely forgot you wanted this. Sorry man, I'll do that tonight!
    ur the man...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •