Graphics Questions
3
Solved
This has been annoying me for a while now when I imported my character from blender which had 500 verts to unity and I saw it got like 2.5k verts.
So I imported a basic cube from blender which had (8 ...
Dustheap asked 4/7, 2017 at 23:2
3
Solved
I want generate a 2d polygonal area from vertice XZ coordinates. Local Y is 0.
Vertices indexed like a closed spline. Spline edges do not intersecting with other edges.
I need a new Triangle calculati...
Treadwell asked 24/8, 2012 at 19:22
1
Solved
As per the title, what does the Matrix4x4 do?
docs.unity3d.com
Unity - Scripting API: Camera.projectionMatrix
static Matrix4x4 PerspectiveOffCenter(float left, float ...
Wallywalnut asked 30/5, 2017 at 10:33
2
Hello,
I decided to change some settings in the environment tab of lighting settings (sun source, fog and etc.). However, my game has many scenes and I couldn’t found any solutions for applying these ...
Penknife asked 11/12, 2022 at 17:59
4
Solved
hi guys i am trying to get all of the mesh edges(sides- the light blue lines that appear when you select a mesh, the wire frame) each edge is a pair of vertices that form that edge(line, side) and are...
Amphiboly asked 31/10, 2013 at 6:42
2
I want to set alpha clipping in my material through script (URP), but
material.SetInt( "_AlphaClipping" , 1 );
doesnt work!
Damalas asked 1/7, 2022 at 10:9
5
Hi, I have a problem, when I build my scene, the lights are totally different from the game view, I tried a lot of things, but I always have the same result…
Difference :
69014-diff.jpg1559×873 289 KB...
Georgena asked 28/4, 2016 at 20:40
1
I tried a lot of different options, like a outline, a wireframe shader, but they all do not give the desired effect.
Shader "Custom/WireframeShader"
{
Properties
{
_WireColor("Edges Color", Color)...
Isolative asked 26/3, 2020 at 9:36
2
Basically I want to make item drops from sprites, in run-time, rather than making 3D objects outside.
This does not only gonna work to item drops, but rather to everything that will appear in game, it...
Precontract asked 22/10, 2014 at 19:55
7
Solved
I’ve seen multiple tutorials on how to use 2D Lights in URP but nothing has worked for me so far. They say to create a pipeline asset, a 2D renderer and then have the 2D renderer be the default for th...
Recollect asked 20/4, 2020 at 8:53
3
I want to draw a circular sector in Runtime. Something like the following command but in run time Handles.DrawSolidArc
docs.unity3d.com
Unity - Scripting API: Handles.DrawSolidArc
...
Boracic asked 15/6, 2020 at 9:34
5
When I first play my applications my render textures appear as black. When I play a video and pause it the video stops playing and pauses as expected. When I do VideoPlayer.Stop() the video stops but ...
Herwin asked 27/5, 2018 at 16:29
2
LineRenderer simply does not work right and it’s driving me crazy. There are hundreds of posts on issues with the line not being visible due to rendering behind ALL other game objects, and there are t...
Disguise asked 11/12, 2018 at 15:18
1
Solved
I’m doing some version of palette swapping for sprites, and I keep hitting a problem.
Unity seems to be altering the colours in PNG files when importing.
As you can see below, when the sprite is saved...
Cultivated asked 18/6, 2019 at 21:39
6
Hi everyone, I have a problem where if I use a render Texture in the 2022 version of Unity my fps drop below 10, also if the scene is empty. Does someone know why?
Thanks in advice for your help
2
I can’t view the depth of objects no matter what I try, they just appear black.
139077-unknown.png760×323 64.6 KB
I’ve been grabbing code from forums to access depth data, both via camera render targe...
Knox asked 29/5, 2019 at 17:39
4
Solved
Hello everyone!
I’ve been struggling with this topic for a while. I have a quite normal scene (Stats are: ~400k polys, ~200 batches and 2 realtime point lights) however the performance of it is not go...
Bullheaded asked 6/12, 2023 at 9:40
3
Solved
In game bloom not working in my project.
All other post processing effects work.
Post processing is enabled in camera.
HDR is enabled in Pipeline settings
Tried setting Global Volume and camera on sa...
Confetti asked 2/3, 2022 at 19:48
6
Solved
I am making a 2D game.
I have my back ground created with sprites. The material of the sprites is Sprites-Default. The sprites have a sorting layer and order in layer.
I have a LineRenderer in the sce...
Carlenacarlene asked 23/4, 2014 at 11:30
2
Hi all,
I found out that this question was already asked in the past but I did not find an answer yet, maybe things have evolved?
I have a png sprite that I use as a gameobject. It is using a Mesh Fil...
Legwork asked 19/12, 2018 at 15:13
2
Just checking since I can’t seem to find a definitive answer.
The difference between GETTING material vs sharedMaterial is obvious - the former creates a copy, the latter references the asset.
Is ther...
Arron asked 5/4, 2022 at 6:2
4
Okay. I’m working on a 3D Pac-Man Cabinet in Unity3D.
This will involve a MAME emulator. (Direct3D, I suppose)
My goal is to have Pac-Man from MAME window converted in a texture so I can able to use t...
Rania asked 5/3, 2014 at 1:46
2
Hello
Sorry if already exist a topic about this, but I can’t found. So, I’m working in a script to my visual novel, when Visual Studios crash, follow by Unity crash too. Then now, when I try to open t...
Municipality asked 21/10, 2023 at 18:46
2
Solved
After importing a cube from blender, I understand it shows 24 vertices due to the normals. But when I set the normals to none in the import settings, it shows 14 vertices instead of 8. Anyone knows wh...
Sneer asked 20/6, 2021 at 16:4
2
Hello,
I’ve made a simple script for ECS and Hybrid Renderer, everything works fine except RenderMesh which do not render at all.
public class GameManager : MonoBehaviour
{
public Mesh newMesh;
publ...
Northrop asked 21/2, 2020 at 12:33
© 2022 - 2025 — McMap. All rights reserved.