Quantcast
Channel: Questions in topic: "renderqueue"
Browsing all 161 articles
Browse latest View live
↧

Set RenderQueue for Terrain

Hi there I try to influence how the terrain is drawn. Actually I try to make a transparent hole in the Terrain. Unfortunately I can not change the RenderQueue, the console gives me an "No 'Renderer'...

View Article


Sorting Sprites with a Perspective Camera

I have a bunch of sprite characters with multiple sprite meshes. i.e. head, body, arms. I need to sort the different meshes so I tried setting the RenderQueue on the materials of each sub mesh. However...

View Article


Depth mask shader and Unity shadows

I'm using the technique from the Unify wiki to mask depth, by having two cameras, one clearing depth only, and then using the SetRenderQueue and a Plane with a hole cut in the middle of it, to mask the...

View Article

Selectively applying renderQueue / draw order based on other material?

Is there a way to make a material (or shader, or object) always draw behind one specified other material (or shader, or object) but still have both treated like they're at the same renderQueue level by...

View Article

How can I save material renderqueue permanently?

We're having a lot of headaches due to Unitys strange (broken?) transparent object [rendering order][1]. Luckily we're able to set the rendering order manually using *[Material.renderQueue][2]*. The...

View Article


Terrain Collision and Holes?

I know that this has been asked before, but there has never been a full guide / tutorial on how to make a hole in terrains. I wanted to ask, how do i actually make a hole in a terrain, i know that it...

View Article

Dynamically change draw order of procedurally generated planar meshes.

Hi everyone, I have a draw order / z-fighting problem that I just can't find a solution for. Based on a xml file I procedurally generate planar meshes that all have the same z-value (areas from an...

View Article

Vertex/Fragment shaders - transparency ignoring Render Queue

So, I've been writing my own fur shader (because I have only seen one half-decent one around, and I don't have the money to buy it), and it's been going pretty well so far. Lighting is a bit dodgy, but...

View Article


Understanding Render Targets and Render Textures.

Hello. I'm currently trying to understand the following article to implement weighted order independent transparency....

View Article


SetRenderQueue on Terrain

Hello, im trying to use SetRenderQueue on Terrain, i want to make pool and want to use masked on pool. At first SetRenderQueue give me error that is no renderer attached on Terrain, its normal. But i...

View Article

Shader queue tags not working...?

Hi, So firstly, I'm very new to writing shaders, so yeah... Ok, I'm trying to make a sort of unlit shader which renders after everything else. I don't need it to display a texture, I just need it to be...

View Article

How do I cull water in my boat without setting render queue to transparent?

I have a boat whose insides go below the water line. I can hide the water by using [a depth mask shader][1], and setting the water's render queue to above 2500, but when I do this, it causes...

View Article

Why does this cube occlude this sphere? (with pictures)

In front, I have a plane with the [depth mask shader][1], which sets the render queue value to Geometry+10 (2010). This shader makes the plane not change any pixels, but still write to the depth...

View Article


How do i change the Render Queue ?

I was having problems whith the rendering order of two transparent materials and i was advised to set the render queue of the object in question (a spaceship shield) to Transparent+1, since they are...

View Article

Changing Queue in shader has no effect

I have a simple shader I use for water. I want it rendered before the terrain trees, so I set the queue to "Transparent-200" (the trees queue is "Transparent-100"). I have done this years ago in other...

View Article


How to make a scene object display before UI

i have an cube and canvas in the scene,I want to implement the cube display by controlling the rendering sequence before canvas。I first get the default material on the canvas picture, get the render...

View Article

material.renderQueue = 4000 has no effect.

I need an object to be rendered on top of all others in the scene. I read that I could do this by setting the renderQueue property of my material. GetComponent().material.renderQueue = 4001; Has no...

View Article


How to Set Custom UI Image Material Render Order?

Using Unity's 4.6+ UI system, I've created a custom UI shader that is exactly like the built-in UI-Default.shader, except it does a color substitution from a gradient texture before returning the color...

View Article

How to render some objects in diffrent order?

Hello! I have a scene with few objects, like this: ![alt text][1] Red one is far object, blue near and green is the middle one. I want it to look like this: ![alt text][2] [1]:...

View Article

Rendering object as background.

Hey i've created some objects i'd like to appear in the background at all times even if they are closer to the camera than other objects. Is there a way to do this? ![alt text][1] [1]:...

View Article
Browsing all 161 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>