Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    957
    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:
    957
    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:
    957
  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:
    957
  8. Jasper-Flick

    Jasper-Flick

    Joined:
    Jan 17, 2011
    Posts:
    957
    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:
    957
  10. Jasper-Flick

    Jasper-Flick

    Joined:
    Jan 17, 2011
    Posts:
    957