Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Catlike Coding's C# and Shader Text Tutorials

Discussion in 'Community Learning & Teaching' started by Jasper-Flick, Jul 31, 2011.

  1. Jasper-Flick

    Jasper-Flick

    Joined:
    Jan 17, 2011
    Posts:
    960
    Lurking-Ninja likes this.
  2. dot_entity

    dot_entity

    Joined:
    Nov 2, 2012
    Posts:
    86
    Hello Jasper, I have added some vertex animation to the particle shader for the custom SRP, in order to imitate butterflies. I am now willing to share the project in the forums for feedback/review. Since the assets include your code for the SRP I was wondering, if it is ok to do so. I will add a reference to your site of course.
     
  3. Jasper-Flick

    Jasper-Flick

    Joined:
    Jan 17, 2011
    Posts:
    960
    dot_entity likes this.
  4. dot_entity

    dot_entity

    Joined:
    Nov 2, 2012
    Posts:
    86
    Many thanks! I thought so, just wanted to be totally sure it is properly done. Here's the post. I did not want to post it here to avoid "littering" the thread with a not fully related topic.
     
  5. Jasper-Flick

    Jasper-Flick

    Joined:
    Jan 17, 2011
    Posts:
    960
  6. dot_entity

    dot_entity

    Joined:
    Nov 2, 2012
    Posts:
    86
    Is there a typo here (Paragraph "3.1 Final Pass"):
    typo.png
    where instead of
    buffer.SetViewport(viewport)
    should read
    buffer.SetViewport(camera.pixelRect);
    ?

    EDIT: Actually, I did not need to ask. I checked the repository. The correct code is indeed
    buffer.SetViewport(camera.pixelRect);
    .

    EDIT2: Additionally, for completeness, at the very end of the Paragraph "3.3 Post FX Pass", the following adaptation should be suggested for the arguments to the
    Record
    method in
     CameraRenderer.Render
    :
    PostFXPass.Record(renderGraph, postFXStack, textures);
     
    Last edited: Nov 23, 2023
  7. Jasper-Flick

    Jasper-Flick

    Joined:
    Jan 17, 2011
    Posts:
    960
  8. Jasper-Flick

    Jasper-Flick

    Joined:
    Jan 17, 2011
    Posts:
    960
    Hex Map 3.1.0
    Condensing Hex Values

    (Yes this is a very old screenshot, from 2016.)
     
  9. Jasper-Flick

    Jasper-Flick

    Joined:
    Jan 17, 2011
    Posts:
    960
  10. Jasper-Flick

    Jasper-Flick

    Joined:
    Jan 17, 2011
    Posts:
    960
    Misnomer likes this.
  11. Jasper-Flick

    Jasper-Flick

    Joined:
    Jan 17, 2011
    Posts:
    960
  12. Jasper-Flick

    Jasper-Flick

    Joined:
    Jan 17, 2011
    Posts:
    960
  13. Jasper-Flick

    Jasper-Flick

    Joined:
    Jan 17, 2011
    Posts:
    960
    CodeRonnie likes this.