Rendering before geometry (transparent) but after sky?
So i want to have a normal transparent (particle additive shader) but i want to be able to see the sky 100% thru it , but make everything else affected by it
View ArticleWhy does changing a shader's Render Queue affect the pivot point of transform...
I have been messing around with skewing vertex and uv map coordinates in a shader. I acheived the effect that I wanted but when I change the render queue from Transparent to AlphaTest It's as if the...
View ArticleTransparent shader that doesnt render in front of skybox but does in other
Arrow points at what i want to achieve ![alt text][1] [1]: /storage/temp/87970-scr3.png
View ArticleTransparent water shader and problems with render queue
Hi there, I wrote my own water shader and everything works fine in the scene view, but in the game view some objects with that shader are getting squashed together and render at a wrong position: ![alt...
View ArticleProblem with rendering?
Hello, I have one problem. I have serveral objects on my scene, which I combine to one bigger mesh. When they're not combined, everything is OK, but when I combine them, something is going wrong in...
View ArticleAlways render object behind everything (not multiple cameras)
Hello, I am working on a day/night cycle that has a rotating sphere of clouds, stars and a moon. To render those in the back, I am using a second camera rendering only those objects. Unfortunatly, that...
View ArticleObjects are hidden behind the skybox
I have some unlit transparent objects I want to be displayed int the background, like they are part of the skybox. What I attempted to do is simply se the render queue for these object to 0; if I use a...
View ArticleRender Queue is missing for Standard Shader in Unity 2017
Unity 5.6 had Render Queue field for materials based on Standard Shader. But new Unity 2017.1 has no such field. Also I've found a comment in StandardShaderGUI.cs (from builtin_shaders-2017.1.0f3.zip),...
View ArticleRender Queues and atmospheres
I have a sphere (which is a planet) and a dome (which is the atmosphere). The dome is always facing the sun and covers just over half of the planet. I was trying to change the render queue to render...
View ArticleUnity System Fog Access
So I've run into the classic post-effects fog problem of having non z-buffer objects draw on top of my fog (transparent objects, particles) ![Example][1] The Ball in the middle is a transparent object,...
View ArticleOutline shader: should be seen through some object but not when other object...
Hi, I've written a simple shader to draw an outline around objects and that outline must be seen through some objects and not some others. The blocking object have a higher render queue than the shader...
View ArticleSetRenderQueue 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 ArticleShader 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 ArticleHow 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 ArticleWhy 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 ArticleHow 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 ArticleChanging 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 ArticleHow 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 Articlematerial.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 ArticleHow 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