Skip to main content

All Questions

1 vote
0 answers
39 views

Unity Runtime generated normal map appears different than editor created normal map

I am attempting to import a jpg normal map at runtime and apply it to a material. The issue is that the material appears wrong compared to using a editor imported normal map. After importing the jpeg, ...
Nick Hudson's user avatar
0 votes
0 answers
31 views

Adding an outline to a curved world shader

I’ve got a curved world shader and I want to add an outline to my objects. I’m able to do a curved world and outline separately, but when I combine the two by adding a second pass to the curved shader,...
gw707's user avatar
  • 3
1 vote
0 answers
49 views

Compute Buffer of bytes to RWTexture2D float4 in Compute Shader

I'm struggling with a Compute Shader whose purpose is to take a byte array of rgba values and write them to a render texture. I'm passing in ints (as I don't believe I can use byte itself) to the ...
arvinkx's user avatar
  • 194
0 votes
0 answers
27 views

How to draw chart with high point density(>1 point per px) in Unity?

I have big array of values/samples, and i need to draw wave chart in uGUI for it. So i have points with same interval at the coordinate x and i should connect them. I tried to draw it by few methods, ...
Mr. Don't know's user avatar
1 vote
0 answers
76 views

Directx12 Executeindirect instance count error

When i change "gpu terrain rendering example"(Unity) from dx11 to dx12,the terrain is no longer displayed. RenderDoc pic1: https://smms.app/image/exSlcMTdRBHVZFb RenderDoc pic2: https://sm....
user23410566's user avatar
0 votes
0 answers
69 views

Wind waker lighting shader effect on 2.5D Unity scene

I was following a YouTube video and guide and got some shader scripts. It was very plug and play which was nice. But I would like to tweak a few things but I have 5% knowledge about shaders. I am ...
Jacob Boyce's user avatar
0 votes
0 answers
95 views

Could not pick GraphicsDeviceType on Samsung Galaxy S5 Mini - Game fails to launch

I am currently working on an AR-based game using Unity and have encountered a perplexing issue when trying to run the game on a Samsung Galaxy S5 Mini. Everything was working fine on the Unity Editor ...
Yunesh Shrestha's user avatar
0 votes
0 answers
16 views

How to tell Unity not to adapt graphics settings

I've been wondering for a long time why the shadows on the "Very High" and "Ultra" Qualify become cubic (as in the screenshot). Although the shadow settings at these Qualify ...
cyberdev's user avatar
0 votes
0 answers
100 views

How can I refer to the render target in Unity after postprocessing?

In Unity's Universal Render Pipeline, there is a PostProcessPass class in PostProcessing.cs. What I would like to know, how I can refer to the buffer, where the postprocess effects are loaded into (...
Fox1942's user avatar
  • 296
0 votes
0 answers
126 views

Unity Shader TexelSize not updating when new texture is assigned

Running into a weird issue where the _MainTex_TexelSize property in my shader is not updating when a new Texture is assigned using Material.mainTexture = texture; Some ways I am able to refresh the ...
Nick Hudson's user avatar
0 votes
1 answer
55 views

Unity Shruiken alpha value are wrong

I am trying to attain a metaball liquid effect with a liquid physics asset I am making for Unity. I have 1000's of particles being simulated. I then render each of those particles as one particle in ...
Guye Incognito's user avatar
0 votes
0 answers
75 views

Unity DrawMeshInstancedIndirect 2D Quads - How to sort draws by Y axis?

I'm drawing around a million 2D quads using DrawMeshInstancedIndirect - - think like im using it for grass. Now I want it to be drawn on top of one another based on Y coordinate, but I can't get it to ...
basicbeing's user avatar
0 votes
1 answer
849 views

Unity upgrade to 2022.3 or Gradle Upgrade to 7x Causing Black Screen (GetGpuPixelFormat Error)

I've had to upgrade to Unity 2022.3, which comes with the Gradle plugin upgrade from 4.0.1 to 7.1.2 and gradle from 6x to 7x. android.enableR8 had to be removed from gradle.properties, since it is ...
Doruk Okbay's user avatar
0 votes
0 answers
55 views

How do I draw lines using LineRenderer on a canvas in 2D Unity, so that the lines don't go diagonally to point A

I'm trying to build a logic gate simulator, however, I've noticed that the line drawing system I'm using looks messy and unorganized for drawing wires in between two gates... I'm trying to avoid the ...
begluka0's user avatar
0 votes
0 answers
105 views

GPU instanced mesh does not render for a camera that is strictly being rendered by Camera.Render()

Mesh does not render when camera is called strictly with Camera.Render(). As in the camera component is disabled. Mesh is being drawn with Graphics.DrawMeshInstanced() In this video, the lightning is ...
Nick Hudson's user avatar

15 30 50 per page
1
2 3 4 5
16