It’s probably a silly question, but I’m currently toying around with different styles for my game and I was wondering if there was a way to achieve something like the “Unlit” view mode option you have in the viewport of UE4 in game? I know you can change the Shading Model of a material to Unlit, but it loses the ambient occlusion.
(Will post images later if needed, Imgur is derping out at the moment…)
Hey I’m a total beginner and had the same question.
I found a simple solution that worked for me.
Just set the Shading Model of my Objects in the Material Editor from Default Lit to Unlit and Tadaaaa the whole world looks flat
Probably not the best way if you already have built a complex scene but it works. See in this [image][1]
in your project’s Config Folder, open up DefaultEngine.ini Under the [RenderSettings] or [/Script/Engine.RendererSettings] add the following: r.ForceDebugViewModes=1
The viewmode unlit does not work in shipping build. There’s a macros in C++ that prevents it from working it in shipping build. Are you shipping your game in debug build?
Honestly, I don’t remember. It’s been many years. Maybe that preprocessor code was added since then? Or maybe I wasn’t publishing the game in Shipping mode haha That’s possible.