Cel/Cartoon/Anime shader

  • AlucardDH
  • Topic Author
More
5 years 10 months ago #1 by AlucardDH Cel/Cartoon/Anime shader was created by AlucardDH
I wanted to share a shader i wrote to recreate drawing/anime/manga effects.
  • lining
  • shading
  • saturation

Link
github.com/AlucardDH/dh-reshade-shaders/.../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.

  • chuatrum
More
5 years 10 months ago #2 by chuatrum Replied by chuatrum on topic Cel/Cartoon/Anime shader
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.

  • fuxs
More
5 years 10 months ago #3 by fuxs Replied by fuxs on topic Cel/Cartoon/Anime shader
I got the same issue

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

  • Daodan
More
5 years 10 months ago #4 by Daodan Replied by Daodan on topic Cel/Cartoon/Anime shader
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.

  • crosire
More
5 years 10 months ago #5 by crosire Replied by crosire on topic Cel/Cartoon/Anime shader
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.

  • AlucardDH
  • Topic Author
More
5 years 10 months ago #6 by AlucardDH Replied by AlucardDH on topic Cel/Cartoon/Anime shader
Thanks for the info, i pushed the fix to github.

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

  • mirt81
More
5 years 7 months ago - 5 years 7 months ago #7 by mirt81 Replied by mirt81 on topic Cel/Cartoon/Anime shader
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 !
Last edit: 5 years 7 months ago by mirt81.

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

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.