Added Fog and other fixes
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Mirza.AERO
|
||||
{
|
||||
// May require domain reloading to be enabled.
|
||||
// Scene mode can apparently mess it up, otherwise.
|
||||
|
||||
// So at least hiding scene views and then playing
|
||||
// will fix the updater and it will work as normal.
|
||||
|
||||
[ExecuteAlways]
|
||||
public class CustomRenderTextureUpdater : MonoBehaviour
|
||||
{
|
||||
public CustomRenderTexture texture;
|
||||
|
||||
void Update()
|
||||
{
|
||||
texture.Update(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user