Shaders from Nvidia Shader Library

  • PasserBy
  • Topic Author
More
9 years 10 months ago #1 by PasserBy Shaders from Nvidia Shader Library was created by PasserBy
Looking through it ( linkity link ) for anything interesting I found those:
- Anisotropic Hilight;

- Edge Fuzz;

- Relief Mapping

- Blinn Bump Reflect

(images are clickable)

Are there any analogs of those in ReshadeFX (besides Emboss in CustomFX) and there aren't is anybody interested in porting? If that's possible at all of course. They all writen in HLSL. I'm most interested in Edge Fuzz as I always wanted edges to look more realistic like that.

Please Log in or Create an account to join the conversation.

  • piltrafus
More
9 years 10 months ago #2 by piltrafus Replied by piltrafus on topic Shaders from Nvidia Shader Library
Hi. I believe all those shaders need geometry information (Normals, uv, etc) so they are not directly portable to Reshade that works as an image post-process (per pixel color and depth being the only info available).

I would like to ask this to the better informed folks around here: is there a clear name difference for those different kind of shaders? Is "geometry Shader" and "pixel shader" the appropriate way to refer to them? Is it correct to say that Reshade only uses "pixel shaders"?
Thanks.

Please Log in or Create an account to join the conversation.

  • crosire
More
9 years 10 months ago - 9 years 10 months ago #3 by crosire Replied by crosire on topic Shaders from Nvidia Shader Library

piltrafus wrote: Is "geometry Shader" and "pixel shader" the appropriate way to refer to them? Is it correct to say that Reshade only uses "pixel shaders"?
Thanks.

A geometry shader is another stage in the shader pipeline and can be used to add/remove new vertices while rendering. The examples here are too pixel shaders, only that they are applied on object surfaces instead of to the entire screen (post-processing). They are sometimes referred to as "surface shaders" to distinguish from "post-processing shaders", but from a technical point of view, they do not differ, both are pixel shaders.
Last edit: 9 years 10 months ago by crosire.
The following user(s) said Thank You: PasserBy, piltrafus

Please Log in or Create an account to join the conversation.

  • PasserBy
  • Topic Author
More
9 years 10 months ago #4 by PasserBy Replied by PasserBy on topic Shaders from Nvidia Shader Library
What results will be if applied to whole screen? Edge Fuzz needs some way to detect edges, but can other ones work with whole image as single texture with decent result?

Please Log in or Create an account to join the conversation.

  • Marty McFly
More
9 years 10 months ago - 9 years 10 months ago #5 by Marty McFly Replied by Marty McFly on topic Shaders from Nvidia Shader Library
I cannot look into the code right now but I have a very reliable, view stable and artifact free way to emboss normals from depth (there are many trivial solutions out there but they all suffer from artifacts and not really correct data) so anything that only needs depth, color and normals can be ported.

Edit: I hax a look at the edge fuzz and apparently it needs world normals and world view. Maybe I can fake that with regular normals but it may look weird as all objects would receive a furry surface.
Last edit: 9 years 10 months ago by Marty McFly.
The following user(s) said Thank You: PasserBy

Please Log in or Create an account to join the conversation.

  • PasserBy
  • Topic Author
More
9 years 10 months ago - 9 years 10 months ago #6 by PasserBy Replied by PasserBy on topic Shaders from Nvidia Shader Library
Paradise for furries :D Well, there won't be a way to tell cat from wooden block... Still it can be usable for cartoony games, maybe, I'm not really imagining it.

Edit: depends on how much "everything" is everything and how fuzzy it'll be, might work nice even in not cartoony games.
Last edit: 9 years 10 months ago by PasserBy.

Please Log in or Create an account to join the conversation.

  • Ganossa
More
9 years 10 months ago #7 by Ganossa Replied by Ganossa on topic Shaders from Nvidia Shader Library
I actually think I often had something similar to "edge fuzz" when trying to work out other effects but always thought of it as artifacts :blink:

Please Log in or Create an account to join the conversation.