Questions tagged [unity]

The tag has no usage guidance.

13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
43 views

Per-object screen space uv issue

I am currently trying to sample a texture in screen space. This works well : ...
2
votes
0answers
432 views

Groupshared memory and parallel reduction over multiple kernel dispatch

I am doing some parallel reduction and mostly following these nVidia slides. However they are not very detailed in places or I might be missing/misunderstanding something. Edit 2: While I figured ...
1
vote
0answers
128 views

Combine box shadow with a signed distance field

I'm using 2d signed distance fields in my current project for drawing shapes (example: https://www.shadertoy.com/view/4llXD7) and I want to add drop shadows to them. At first I thought I could exploit ...
1
vote
0answers
418 views

Streaming video camera input from WebCamTexture on mobile? (Possibly via WebRTC or websocket?)

I'm building an application where I stream video camera feed from one mobile device to another in Unity. I tried searching for answers, but most of the topics deal with how to display a video stream, ...
0
votes
0answers
43 views

Reorder mesh triangles

Good Morning! My problem is: I need to get the vertices of a mesh and send them to a shader. Inside the shader I will reassemble the mesh from its vertices. So far so good, I send the information and ...
0
votes
0answers
61 views

Mapping an image from one camera pose to another given a planar scene

I'm trying to map an image of a 3D object to another one from a different camera position. My assumption is that the pose change between two cameras is so small and the object is far enough from the ...
0
votes
0answers
88 views

Blending 2 or more Textures based on depth (Unity)

Ive been trying my hand at blending between 2 or more textures, so far I found I can lerp between Colors quite easily, but this lacks the detail im looking for. So Im trying to blend 2 or 4 textures ...
0
votes
0answers
22 views

About BoxProjection in URP and supporting SRPBatcher

I am trying to use BoxProjection on URP 10.4.0 and I understand that it is not officially supported on URP. I've tried to do this by adding the following code float4 unity_SpecCube0_ProbePosition; ...
0
votes
0answers
29 views

Unity crashes when running path tracing

I'm studying path tracing, at the moment I created a compute shader that aims to calculate the intersection of rays with meshes. However, when I run the code the unity crashes, displaying a graphics ...
0
votes
0answers
78 views

What are Gbuffers?

Good Morning! I am in need of help to understand GBuffers. What exactly are they? and how can I access them through unity? Is it something I need to create? Or does the engine create automatically? In ...
0
votes
0answers
38 views

Unity path tracing makes the pc crash

Good Morning. I'm testing Path Tracing techniques with unity, following this tutorial. http://three-eyed-games.com/2019/03/18/gpu-path-tracing-in-unity-part-3/ But I'm in trouble. Whenever I try to ...
0
votes
0answers
110 views

Problem with Quad-based Tessellation in GLSL generating incorrect vertex ordered tessellation

I am trying to perform quad-based tessellation using GLSL on Unity to be able to render polynomial-based parametric surfaces on a Unity quad. The quad-based tessellation using GLSL seems to be ...
0
votes
1answer
318 views

Unity: Pass texture pointer from OpenGL to Unity

I'm working on a scene in Unity where I have textures loaded at runtime. As a result of that, the scene is being slowed down (even with co-routines), so I thought maybe I could move the texture ...