Home Unreal Engine

Light or shadow Detection shader

polycounter lvl 10
Offline / Send Message
tuxmask75 polycounter lvl 10
Hi guys,
I'm wondering if it is possible for a shader to know what vertex or polygons are being lit or in shadow somehow.

I'm wanting to take that data and make a sort of "If statement" or mask which will be used to change between 2 textures depending on if its receiving direct light or in shadow.

Replies

Sign In or Register to comment.