How do I access shadow maps?
Hello, I'm trying to access the shadow maps once I build the lighting, I know that I can see them in the editor in World Settings > Light Mass > Lightmaps. But I need to access the actual texture from c++ or BP.
I tried using AWorldSettings, but it contains everything beside the actual texture even if in the editor are shown there.
asked Sep 04 '16 at 05:48 PM in C++ Programming
I have had issues with this myself, but so far I've found a way to at least get at the textures:
You can then iterate over them and save them into their respective files. But the bitmap converters don't want to serialize shadow maps (because they are encoded as grayscale) and light maps are in what seems like a weird RLE BMP container (not vanilla, that's for sure).
This is what I've got within the iterator:
Can share more code if you like but I also need help finding the UVs for these and actually exporting all of this shadow map data as a usable image file... :/
answered Nov 21 '17 at 01:43 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here