Newest Questions
57,718 questions
0
votes
1
answer
73
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
88
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
64
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 ...
0
votes
1
answer
75
views
How to make volumetric scanning effects
I have an effect where a character has a small tool that emit a sort of scanning effect to detect some property of an object. My FX is simple as it uses a pyramidal mesh whose top is positioned where ...
0
votes
0
answers
42
views
How to handle draw events without synchronization issues
So in my game I'm using a message queue for everything, very similar to an event manager or event queue pattern. I've seen that lots of people use them, and they decouple when the event fires and ...
0
votes
2
answers
80
views
How would I make a "slideshow" cutscene?
I'm making a 2D game using Unity and I want to implement cutscenes that change over at certain lines.
...
1
vote
1
answer
96
views
Is there a way in Unity to detect which gameobjects are making it take longer to enter/exit play mode?
I have a scene with quite a few gameobjects in it and for the first time since using Unity, when I enter/exit play mode (or even close and reopen the scene) it takes about a minute to complete this. ...
-1
votes
1
answer
129
views
How to promote an indie game on Android?
I have developed my first indie game (space survival genre) for Android phones, and I want to ask: which promotion channels are best to start with?
0
votes
0
answers
86
views
FPS improves when parents of skinned AI are disabled before play, but not when disabling them during play
I am playing a scene in Unity editor. If I play the whole scene, the FPS is 125.
Next, there are 2 test cases.
Case 1: If I disable some big game objects first, and then play the scene, the FPS is ...
0
votes
1
answer
145
views
Rotation and unique identification
My question relates to content rotation and data management of the emerging objects in a database.
I assume a networked game, with a server-client model. Unspecified objects in the game world are ...
0
votes
1
answer
113
views
Why does early z not work with fragment shaders using discard
I am currently trying to understand why using discard inside of a fragment shader disables early z.
I am using a simple cutout shader, which discards fully ...
1
vote
1
answer
107
views
Objects move with different speed on different devices
I was making a 2d top-down game, but when I tested it on two devices (Samsung M31 and Samsung S25) there was a problem with player speed - it was faster on S25 and slower on M31. I tried using some ...
2
votes
1
answer
79
views
How to switch to a testing branch for a DLC in the Steam client?
I created a password protected branch for my DLC in Steamworks under the DLC app page / Steamworks / Builds.
How can I switch to this branch from the Steam client?
Going to my game / Properties / ...
1
vote
1
answer
83
views
Phong shading: missing specular lighting, skipped face
I'm implementing my first rasterizer, and I've run into a 2 issues with Phong shading that I have no idea how to debug. First, specular lighting seems to be completely missing. Second, there is an ...
0
votes
0
answers
113
views
How is 2.5D achieved with 3D Objects in a 2D scene?
I would like to make a 2d top down scene with 3d Objects. I could make a 3D scene and just tilt the camera 45 degrees on X and that would give me basically the same thing(I think). But I started with ...