Home Unreal Engine

Custom Lighting & Textured Shadows

Hello !

I have recently been working on a lighting system to give a "sketch" aesthetic to my game. I have a custom lighting based on a duplicate of the base Phong and plugged into CustomLighting and CustomLightingDiffuse.

What I am looking for, and the texture I'm testing for it :

CroAmbCuisine-300x212.jpg Material-2_zpscca2a306.jpg~original

Material-1_zpsd5cc815c.jpg


The basic idea is that I use a texture (with separate hatch textures on R, G & B) as my shadow instead of a dark gradient. Unfortunately I currently have two major problems :

Preobel 1 : The CustomLightingDiffuse doesn't seem to use the texture I have set up directly, I think it is forcing a gradient :

Screen-1_zpse6bc5488.jpg~original


The shadow should be pure black, shouldn't it ?



Problem 2 : Even when deleting the "Custom Light Diffuse" connection, I would like the parts that are currently pure-black shadows to use my black&white texture (the densest one).

Screen-2_zpsc8a0bac6.jpg

Is there any way to get rid of these "forced" dark shadows ? (I believe they are created when building lights, and because of light maps, but I can't figure out how to customize them).
Sign In or Register to comment.