Quantcast
Browsing all 713 articles
Browse latest View live

Some trees are glowing while using the Glow post processor

Hi all, I try to apply the glow post processor on my scene and everything works fine except for some tree within the terrain assets package. For instance the willow is glowing even when I adjusted the...

View Article


unity vertex order

In modo, I have a single unified mesh with NO uv's, and a single material. If I import that mesh into unity, I can loop through mesh.triangles and all of the vertices match up perfectly. Here's where...

View Article


Post processing effects.

Hello, I know that Unity3d Pro provides some post processing effects, and one should buy it to get them easily done, but can't I program my own post processing shaders without buying unity pro? If yes,...

View Article

Searching for pixelation image effect.

Hi! I'm searching for a pixelation image effect for Unity. Like [this][1]. I want to make an old-school style game, and I need that effect for it for a "better" appearence. The game itself will be 3D,...

View Article

How Unity assigns image effect shaders to their scripts automatically?

I don't understand, how it does, and I can I do it. I wrote some post processing shaders and I need them to automatically assign by script. It is really annoying if I have to remove a script because of...

View Article


How to determine if a game object is a generated prefab using code

I am trying to add a script to all game objects in a scene. I have gameobjects created in unity and gameobjects imported from 3d model software. The ones imported from a 3d model software makes the...

View Article

Best practise for scripts that should only exist in editor

I got some scripts on gameobjects in my scene that uses executeineditmode to do stuff in edit mode. Now I don't want these to compile when I build. Is there an easy way to remove these using post...

View Article

How do I apply an Image Effect to only one camera?

I'm working on the interface for a game and I want to apply a post effect to the UI elements whilst leaving the image in the background unaffected. I have set up the background and the UI elements to...

View Article


How to draw a tiled texture on a post process shader

Hi there. I have messed around with some simple CG shaders before, but I have not done post processing, either in CG or GLSL. This goal I have is a bit above my league, but I hope that with some...

View Article


Bloom and Bloom Streaks proper use

Hi I have some experience in Unity, but sometimes I just feel like a complete noob... I have a very simple scene with a white background. I'd like to make some of the objects sparkle (they are not...

View Article

Disabling / Destroying a camera component cause a black blinking / flickering...

I have this short piece of code to show a shockwave image effect. It works fine in the editor. But on android, when I call Destroy(this); I get a very short black blinkng of the screen. I've tried to...

View Article

How do you use a shader file once written?

Hello, I need to write custom post-processing shaders for Unity. I'm looking to do this using vertex and fragment shaders in CG and applying the effect over a camera's view. Once I've written a shader...

View Article

Is there any way to apply different textures to a plane on front and back?

I am trying to create a page. Which has two sides. So i need to apply two textures front and back to that page. Is there any kind of shader for this?

View Article


How would I grab the lighting pass in a post process shader for deferred...

Guess it's all in the title. I want to run the output of the lighting pass (in deferred rendering) through a look up table, this sounds simple if I can just grab the lighting pass in a post process...

View Article

Applying Image Post-Processing Effects to Right Eye

I am running unity 5.1.2f1. The change to VR has made the main camera automatically a Stereoscopic camera, which responds to HMD rotational input without me having a say on the matter. The main problem...

View Article


Antialiasing (Post) - on Mobile

Hello, I've got the Antialiasing script attached to my camera. And I would like to know what technique is best for Mobile (if any). The current techniques to choose from are as follows: - FXAA2 - FXAA3...

View Article

Duplicating post-processing effect for both cameras [rift]

Hi, I am applying a series of post-processing effects to a game that uses Oculus Rift. I should apply the post-processing effects to both left and right-eye cameras. Is it possible to add the image...

View Article


Post Processing Builds Hangs on iOS!

When i try to build for ios it hangs on postprocessing player. Try o fix it restart to computer, unplug the phone but nothing change. Is there any idea how can i fix this issue ?

View Article

How do I make a depth based distortion effect?

I do not not know if I need to make a command buffer script, post processing script or shader, if anyone can point me in the right direction, many thanks. I want to distort the output of a camera,...

View Article

Bloom Effect for certain camera only

Hi, I'm new to Unity5's bloom effect and have a question. I have 2 cameras, 1 main camera that renders almost everything, and other camera that renders some objects that I want to make glow(dust...

View Article
Browsing all 713 articles
Browse latest View live