# Plugin Rendering Issues

**URL:** <https://forums.unrealengine.com/t/plugin-rendering-issues/41778>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [September 15, 2015, 4:26am UTC](https://forums.unrealengine.com/t/plugin-rendering-issues/41778 "2015-09-15T04:26:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![trentpolack](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/trentpolack/32/1173069_2.png) [@trentpolack](https://forums.unrealengine.com/u/trentpolack)\
**Post date:** [September 15, 2015, 4:26am UTC](https://forums.unrealengine.com/t/plugin-rendering-issues/41778/1 "2015-09-15T04:26:51Z")

</div>

So, I’m kind of stuck here. My ocean plugin is only rendering when there is unassociated geometry below it:

 ![frick_triton.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/1/6/162967de728ff7fa18b2566c61125c9af22d9fb4.png)

With my cloud rendering plugin, it only shows up with geometry behind it as well:

 ![frick_silverlining.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/0/20dbfa0e9d877e3b18b09b67b9e19cf44a80b0b6.png)

As far as I can tell there isn’t a simple way to muck with rendering order in UE, so how do I go about tackling issues like these?

---

<div class="post-metadata">

**Author:** ![NasteX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NasteX](https://forums.unrealengine.com/u/NasteX)\
**Post date:** [September 15, 2015, 7:11am UTC](https://forums.unrealengine.com/t/plugin-rendering-issues/41778/2 "2015-09-15T07:11:16Z")

</div>

What if you put a very very big sphere and turn off visibility?

---

<div class="post-metadata">

**Author:** ![trentpolack](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/trentpolack/32/1173069_2.png) [@trentpolack](https://forums.unrealengine.com/u/trentpolack)\
**Post date:** [September 15, 2015, 8:26pm UTC](https://forums.unrealengine.com/t/plugin-rendering-issues/41778/3 "2015-09-15T20:26:23Z")

</div>

That doesn’t work either. The ocean/sky just render on top of anything I put in the scene still. They _should_ be properly drawing with depth information, but that doesn’t appear to be happening and I don’t know why.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcf66e2c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcf66e2c](https://forums.unrealengine.com/u/anonymous_user_bcf66e2c)\
**Post date:** [September 16, 2015, 2:37am UTC](https://forums.unrealengine.com/t/plugin-rendering-issues/41778/4 "2015-09-16T02:37:30Z")

</div>

You need to provide more information for us to be able to help you. I have done rendering based plugins in the past without any issues. How are you doing the rendering? Please provide some code snippets.

---

<div class="post-metadata">

**Author:** ![trentpolack](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/trentpolack/32/1173069_2.png) [@trentpolack](https://forums.unrealengine.com/u/trentpolack)\
**Post date:** [September 16, 2015, 3:42am UTC](https://forums.unrealengine.com/t/plugin-rendering-issues/41778/5 "2015-09-16T03:42:17Z")

</div>

> [@;379948](#):
>
> You need to provide more information for us to be able to help you. I have done rendering based plugins in the past without any issues. How are you doing the rendering? Please provide some code snippets.

That’s the problem, all of the rendering is done within the plugin itself; I’m just able to control the setup on my end, basically. It supports and works with a lot of different engines (Unity, OGRE, etc.) so I figured porting it to work with UE4 wouldn’t be too difficult an issue. As of right now, I’m modeling my setup off the trueSKY plugin. And the rendering clearly works, it’s just like the depth writing isn’t working, so I was wondering if there was some order of operations that I don’t know about, or if there was any other control I had at a high-level for when the plugin renders.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcf66e2c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcf66e2c](https://forums.unrealengine.com/u/anonymous_user_bcf66e2c)\
**Post date:** [September 16, 2015, 3:47am UTC](https://forums.unrealengine.com/t/plugin-rendering-issues/41778/6 "2015-09-16T03:47:49Z")

</div>

Best I can say, is take a look at the NVIDIA branch and see how they have things setup, they are not using plugins in the UE4 sense, however they handle their own rendering and then composite it into the UE4 rendering pipeline, so that may give you some ideas on where the issue may be, take a look the WaveWorks and HairWorks. [https://github.com/NvPhysX/UnrealEngine](https://github.com/NvPhysX/UnrealEngine) (Requires that you are logged into github and have a UE4 account linked).

Other than that, without actually being able to see how your doing things, I cannot help much further. Let me know if you would be interested in maybe communicating over skype, where I could potentially help you further.

---

<div class="post-metadata">

**Author:** ![trentpolack](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/trentpolack/32/1173069_2.png) [@trentpolack](https://forums.unrealengine.com/u/trentpolack)\
**Post date:** [September 16, 2015, 4:18am UTC](https://forums.unrealengine.com/t/plugin-rendering-issues/41778/7 "2015-09-16T04:18:41Z")

</div>

> [@;379972](#):
>
> Best I can say, is take a look at the NVIDIA branch and see how they have things setup, they are not using plugins in the UE4 sense, however they handle their own rendering and then composite it into the UE4 rendering pipeline, so that may give you some ideas on where the issue may be, take a look the WaveWorks and HairWorks. [https://github.com/NvPhysX/UnrealEngine](https://github.com/NvPhysX/UnrealEngine) (Requires that you are logged into github and have a UE4 account linked).
> 
> Other than that, without actually being able to see how your doing things, I cannot help much further. Let me know if you would be interested in maybe communicating over skype, where I could potentially help you further.

That’s actually a great idea. And it also showed what I was kind of afraid of: any kind of advanced rendering control needs to be integrated with the engine itself and cannot be used as a plugin. ☹

---

<div class="post-metadata">

**Author:** ![trentpolack](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/trentpolack/32/1173069_2.png) [@trentpolack](https://forums.unrealengine.com/u/trentpolack)\
**Post date:** [September 21, 2015, 3:11am UTC](https://forums.unrealengine.com/t/plugin-rendering-issues/41778/8 "2015-09-21T03:11:13Z")

</div>

Is there any way I can integrate this into the rendering pipeline without modifying the plugin DLL itself?
