Skip to main content

Questions tagged [unity]

The tag has no usage guidance.

9 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
86 views

Per-object screen space uv issue

I am currently trying to sample a texture in screen space. This works well : ...
MaT's user avatar
  • 1,229
2 votes
0 answers
1k 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 ...
AverageGatsby's user avatar
1 vote
0 answers
36 views

Help understanding Texture2D multi-sampling semantics: Why do we need sample index AND location?

Looking at the windows HLSL documentation for Texture2DMS.Load found here: https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/texture2dms-load can someone help me better understand different ...
Dan's user avatar
  • 11
1 vote
0 answers
379 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 ...
weichsem's user avatar
  • 111
1 vote
0 answers
453 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, ...
Apolotary's user avatar
0 votes
0 answers
127 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 ...
Matheus Markies's user avatar
0 votes
0 answers
77 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 ...
Matheus Markies's user avatar
0 votes
0 answers
166 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 ...
Bhavyansh Mishra's user avatar
0 votes
1 answer
452 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 ...
Roman's user avatar
  • 3