Should I concern myself with Render Queue since it's often made public in the...
When I download shaders en scripts from the assets store I noticed that they contained quite often Public Render Queue's with a default value of 3000. I know that Render Queue's are telling Unity what...
View ArticleGPU instancing breaks when setting RenderQueue through script.
Hi all, i have a custom shader that works perfectly with all the correct Unity Api for GPU instancing and property changes to those instances. The major problem i am having is when i set a clone’s...
View ArticleHDRP DepthMask Possible?
Hey there! I've been banging my head against this for a while but I cannot figure out if it is possible to create a **DepthMask** shader for **HDRP** [(as descibed...
View ArticleWhy Is overlay(e.g. health bar) not rendered first since it can prevent...
In the Unity documents was said that overlay is rendered a the end. Why not at the begging to prevent overdraw? I noticed a render queue 3000 from my default UI material.
View ArticleHelp converting stencil shader in HDRP
Hiya, I'm converting my project to the High Definition Render Pipeline. The one hurdle I'm stuck at is how to convert my custom stencil shader. I've pasted my shaders in below, along with a screenshot...
View ArticleSprite behind semi transparent mesh
I'm creating a game with an editor which has multiple layers. Players have to solve tasks on separate layers. ![second layer][1] The first layer is the crane image in the background. The second layer...
View ArticleText Mesh Pro UGUI blocked by 3d model
I put TMPUGUI on canvas as Screen Space - Overlay. ![alt text][1] In my screenshot, The TMPUGUI text goes behind of the 3d model sphere. It was ok in Editor but when I run it on android phone the...
View ArticleUi Material Render Queue Issue
I've tried to set renderQueue for white —> 2000 red —> 3000 But Unity renders it accordingly the hierarchy. Is there any information about render queue in UI? ![alt text][1] [1]:...
View ArticleHDRP Render priority
Hi! I'm trying to use the Render Priority setting in my test scene as described [in Unity HDRP documentation][1], but it doesn't seem to work. I have three spheres in the scene, each with lower render...
View ArticleStandard Shader Still Visible through Stencil Shader
Hello! I am currently working on some portals for VR in unity. I decided to use the stencil buffer rather than cameras so that I wouldn't have to manually render each eye separately. Anyways, I have...
View ArticleHow do i change the Alphasorting Center to the Pivot in Meshrenderers?
Hey, so i have the issue that I have to show semitransparent Planes intersecting. ---------- I have figured out that the issue why half the time a plane is shown completely behind and half the time...
View ArticleRendering a 3d mesh over Unity UI,Rendering over Unitys UI
I'm trying to figure out a way to make it so this mesh can always render on top/in front regardless of situation. I can't use canvas components as they're not VR friendly. Attached is a picture of the...
View Article3d Object always behind with Render Queue doesn't work?
1. I've added a cube object with position (0, 0, 0) and sphere object with position (0.5, 0, -3). 2. I've added textures 3. I've added materials ![alt text][1] I want to move the sphere behind of the...
View Article2D-Sorting; Does batching affect the order of 2D-Renderers?
Hello Unity-community :) I was reading the documentation about the 2D sorting process: https://docs.unity3d.com/Manual/2DSorting.html On that page there are listed several criteria how the 2D sorting...
View ArticleStandard Shader Render Queue Missing - Transparency Broken
The Unity Render Queue is missing from the standard shaders only. Its causing cutout materials to not work. Has anyone experienced this before. Its giving me a migraine. Unity 2019.4.12f1 ![alt...
View ArticleHow to draw shadows on an object with a render queue over 2500
I know that in Unity, it is impossible to draw shadows on the object with a render queue over 2500, but is there any way to make it possible? I'm making a see-through function...
View ArticleSorting Groups and AlphaTest Queue
I'm having an issue where sprite sorting stops working when I apply a sorting group to a parent object. The [docs][1] say "To sort Renderers within a Sorting Group, Unity uses the individual sort...
View Articlecrash when material access renderQueue property
I reset renderer shader after loading mesh from assetbundle. while Unity editor will crash when material access renderQueue property. Unity version 2020.1.6f1 public static void...
View ArticleHow would I fix this DrawMeshInstancedIndirect and Translucent object problem?
I wrote a script in DOTS using the DrawMeshInstancedIndirect (DMII) to render translucent voxels (Cubes) without the hybrid renderer. The cubes render in the order that they are in the NativeArray that...
View ArticlePng Surfaces transparent overlapping
Hey there, I didn't find any solution after many researche, maybe there is a chance here : my issue is that i need to use a transparent shader for rendering my 'cut out' style character here ( and not...
View ArticleRendering order approach for a 2.5D game.
First of all, I'm sorry if answers.unity isn't the place meant for this kind of questions or if it is posted on the wrong space. I'm creating a tile-based 2.5D game and I want the lower tiles to be...
View ArticleHow to set renderQueue on multiple subshader passes of a material via script?
So, using Material.renderQueue one can override the renderQueue value of a specific instance of a material. A shader however can have multiple SubShader passes with different renderQueues. How can I...
View ArticleURP deferred rendering: can I force ZWrite On for transparent render queue?
I'm rendering a spherical ocean with various other geometry around, a terrain and some objects. I've implemented the ocean rendering using three materials, each with a Shader Graph shader I've...
View Articlehow can i use render priority with hdrp?
2 way in unity help document? both of it doesn't work. both of them using transparent material and transparent material goes fuxx because of backface cull. is there anyway using render priority using...
View ArticleWhy is this clipping/overlap occurring between game objects?
Video of the issue: https://youtu.be/oMWx36eMT48 You can see in the video the church begins to overlap on top of the house when it reaches a certain angle relative to the camera. Why is this happening?...
View ArticleHow to modify the render output of individual layers in Unity 2D?
So if I understand correctly, the way Unity 2D renders an image is to draw layer 1, then draw layer 2 on top of that, then drawing layer 3 on top of that and so on until every layer has been rendered....
View ArticleParticles are drawn behind sprite even though they are closer to camera
Hi, I have an object that is in front of a big sprite background, and for some reason the particles that are spawned at the object are drawn behind the sprite background. Even though they physically...
View ArticleParticles are drawn behind sprite even though they are closer to camera
Hi, I have an object that is in front of a big sprite background, and for some reason the particles that are spawned at the object are drawn behind the sprite background. Even though they physically...
View ArticleParticles are drawn behind sprite even though they are closer to camera
Hi, I have an object that is in front of a big sprite background, and for some reason the particles that are spawned at the object are drawn behind the sprite background. Even though they physically...
View ArticleParticles are drawn behind sprite even though they are closer to camera
Hi, I have an object that is in front of a big sprite background, and for some reason the particles that are spawned at the object are drawn behind the sprite background. Even though they physically...
View Article