Newest Questions
57,699 questions
0
votes
0
answers
31
views
Storing reference of delegate in pointer
I have multiple different classes which need to perform the same complex operation
So to keep my code dry, I'm using a manager object which requires a delegate for the complex operation
Here's a ...
1
vote
0
answers
31
views
How to integrate QML UI into a custom Vulkan renderer without using a separate window
I'm developing a custom Vulkan renderer and want to integrate a QML-based UI into it.
I already have a working Vulkan setup and also managed to render QML over Vulkan using a separate ...
0
votes
0
answers
95
views
How do I render points in 3d space given spherical coordinates?
I have a 3d renderer I'm working on, and I need to know how the specific details of the human eye so I can project that to a coordinate, what is the math that does this given spherical coordinates and ...
0
votes
1
answer
50
views
Can PNG format be used for alpha channel-packing for URP shader in Unity engine?
Note: I intend to use only the Inspector window to use all textures, not Shader Graph or Nodes or any custom scripts. Also I might use some technical terms incorrectly by mistake, as I'm not much ...
0
votes
2
answers
87
views
When should an object with a collider have a rigidbody?
I had some questions about Physics / Rigidbody in Unity.
I have a 2D sprite with a collider. The 2D sprite is simply a card that I place on a table with the mouse. I use the collider for raycasting (...
0
votes
1
answer
82
views
Weird artifacts after baking in Unity
I am trying to bake a scene with these settings:
and getting artifacts like squares and noise on walls:
I did try to solve it for quite a while, checked this whole documentation, tried higher number ...
1
vote
0
answers
33
views
D3D11 type conversion rules
My understanding is that, in general, we can supply data to the GPU in some format (in D3D, as defined by DXGI_FORMAT_xxx) and it will be implicitly converted to ...
0
votes
0
answers
38
views
How to detect which physics body of skeletal mesh has overlapped?
I have a skeletal mesh with a Physics Asset assigned to it as such:
This skeletal mesh is used within an ACharacter with collision settings as such:
And an actor which has the overlap event as such:
...
0
votes
1
answer
47
views
Rendering Sprite from tightly packed atlas onto RenderTexture
I'm currently working on a Unity BepInEx Plugin that should allow users to customize certain textures in the game. As part of this, I need to extract sprites from a sprite atlas into individual ...
0
votes
0
answers
33
views
Applying greyscale shading to objects in a Python 3D renderer
I need help with how to apply greyscale shading to objects in a 3D renderer I made in Python. The code is pasted below:
...
0
votes
2
answers
104
views
Why is my rigidbody not moving when I press the buttons? I can't see any reason it shouldn't
The "Car" in question is a plane. The question is pretty self explanatory.
Here's the Car in the Hierarchy:
Here's the car in the inspector:
And here's the PlayerMovement script:
...
0
votes
0
answers
35
views
Can a single large SSBO in vulkan store different types of structs?
I was using tinkering with vulkan and was wondering if a SSBO can store a mix of structs of different kind like shown in picture and pass offsets of the said structs to access them in shader.
0
votes
1
answer
62
views
Difficulties for GPU rendering of a cone using parametric equation
I'm trying to render a cone at the gpu for some effects. I'm using the parametric equation provided here. I ended up with the shader below intended to work with an unorderedaccessview target (DX11). I'...
1
vote
1
answer
80
views
Drawing textures to a RenderTexture + rotating in 90° intervals
For context: I am currently working on a BepInEx Plugin for the Unity-based game Hollow Knight: Silksong. The goal is to be able to replace the base game sprites with custom ones. The game uses Sprite ...
1
vote
1
answer
55
views
D3D11 batching with texture arrays
When employing texture arrays how does typically communicate the associated indices when rendering to batch as much work as possible per draw? The only approaches I can think of are:
Supply texture ...