# Implementing new render pass questions

**URL:** <https://forums.unrealengine.com/t/implementing-new-render-pass-questions/682955>\
**Category:** Rendering\
**Tags:** unreal-engine, Rendering, question\
**Created:** [November 3, 2022, 2:09am UTC](https://forums.unrealengine.com/t/implementing-new-render-pass-questions/682955 "2022-11-03T02:09:09Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Starkium](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/starkium/32/1194588_2.png) [@Starkium](https://forums.unrealengine.com/u/Starkium)\
**Post date:** [December 14, 2024, 5:47pm UTC](https://forums.unrealengine.com/t/implementing-new-render-pass-questions/682955/8 "2024-12-14T17:47:14Z")

</div>

Back here again, still not finding much info on custom render passes. There’s essentially no info at all regarding the forward render either.

I assume everyone else here is modifying the engine directly, but I figured I would share a tip I stumbled upon. Made a separate post for it. Essentially, you can make a local copy of the engine shaders into a plugin where you override via virtual file paths. So yeah, you wouldn’t need to necessarily keep up with engine changes as you could localize at least this much.

> [@Override Engine Shaders in Local Project or Plugin](https://forums.unrealengine.com/t/override-engine-shaders-in-local-project-or-plugin/1937310):
>
> So, I’ve been looking for an answer to this kind of question for a while. I actually found a solution that works, but I’d like to find a better one. Here’s how I did it on my end. In my case I wanted to test by overriding the MobileFog.usf file from the engine’s Shaders/Private folder. So, I tricked the engine by virtually mapping the private subfolder like so. void FCustomShadersModule::StartupModule() { FString BaseDir = FPaths::Combine(FPaths::GameSourceDir(), TEXT("CustomShadersModule));…

So, I’m here looking at custom render passes because I have no way to mask boat hulls out of water on mobile LDR. We know how expensive render targets are still. I don’t have access to distance fields, custom depth, post process, etc. Scene View Extensions look interesting, but they lack what I would need in most places. Plus, I really only want to gather _specific_ items into the render pass to make the mask.

This is essentially what a render target (or custom depth) would be good for, but it probably isn’t a good move till I can use something like this:  
[https://github.com/EpicGames/UnrealEngine/commit/af32d8267357ff69c8856fcbcc8b2683dd654406](https://github.com/EpicGames/UnrealEngine/commit/af32d8267357ff69c8856fcbcc8b2683dd654406)

5.5 is still a mess, and doesn’t have a Meta fork version yet, so got to wait and see.

Did anyone get any closer to custom render passes or getting more control over the renderer in 5.4?

---

_[View the full topic](https://forums.unrealengine.com/t/implementing-new-render-pass-questions/682955)._
