Cel/Cartoon/Anime shader

  • Posts: 7
3 months 2 weeks ago #1 by AlucardDH
I wanted to share a shader i wrote to recreate drawing/anime/manga effects.
  • lining
  • shading
  • saturation

Link
https://github.com/AlucardDH/dh-reshade-shaders/blob/master/Shaders/dh_anime.fx

Original


Examples




Any feedback is wellcomed :)
The following user(s) said Thank You: Viper_Joe

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

  • Posts: 3
3 months 1 week ago #2 by chuatrum
When I activate this shader, the whole screen just turns into a blank color. How do I fix this?

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

  • Posts: 3
3 months 1 week ago #3 by fuxs
I got the same issue

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

  • Posts: 176
3 months 1 week ago #4 by Daodan
If the 'SV_Position' semantic is added before the 'TEXCOORD0' one it works. (in D3D11 that is)
Is that a bug in ReShade?

Change
void PS_Input(in float2 coords : TEXCOORD0, out float4 outNormal : SV_Target, out float4 outBlur : SV_Target1)
to
void PS_Input(float4 vpos : SV_Position, float2 coords : TEXCOORD0, out float4 outNormal : SV_Target, out float4 outBlur : SV_Target1)

And
void PS_Manga(in float2 coords : TEXCOORD0, out float4 outPixel : SV_Target)
to
void PS_Manga(float4 vpos : SV_Position, float2 coords : TEXCOORD0, out float4 outPixel : SV_Target)
The following user(s) said Thank You: AlucardDH

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

  • Posts: 3632
3 months 1 week ago #5 by crosire
Not a bug, just a D3D11 limitation (pixel shader always need SV_Position input).
The following user(s) said Thank You: AlucardDH

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

  • Posts: 7
3 months 1 week ago #6 by AlucardDH
Thanks for the info, i pushed the fix to github.

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

  • Posts: 31
1 week 5 days ago - 1 week 5 days ago #7 by mirt81
If this Shader works per Colour-Edge-Detection is there a way for Normal-Depth-Edge-Detection like Outline.fx ! ?

Outline.fx have also Colour-Edge-Detection but this mod have often Problems showing Outlines corect and Normal-Depth Edge Detection works always .

reshade.me/forum/shader-presentation/261...and-outline?start=35

The Reason for my Question is that this Great Shader not work for all Games that Great :whistle:

Th@nks !

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