Newest Questions
57,644 questions
0
votes
0
answers
8
views
USD File missing Materails in Unity
I have imported NVDIA USD File assets in Unity and for this use the Importer by Unity (com.unity.importer.usd). It successfully showed the USD file in the scene as object but the problem is material ...
0
votes
0
answers
34
views
GPU-friendly coordinates for hyperbolic geometry
Perspective Euclidean rendering makes use of the W coordinates in a 4-component vector by recording distance information into it and let GPU do the scaling/normalization.
Hyperbolic and non-Euclidean ...
0
votes
0
answers
53
views
Looking for a way to handle/define area of effect attacks in a 2D grid based game
I am working on a top down 2D grid based game, where as it is currently, units have a movement and an attack range. An example of this:
The blue squares are tiles the selected unit can move to, the ...
0
votes
2
answers
59
views
Camera Snapping instead of panning
I am trying to make a camera system for a 2D platformer, with three camera modes to begin with:
Follow, normally following the player
Horizontal: Y is set, X follows player
Static: Locked to a certain ...
0
votes
1
answer
84
views
How to implement something like Noita's spell system?
Does anyone have any insight or at least a guess as to how the spell system works in Noita?
The game is done in C++, and it has spells that can be modified with other spells and spell modifiers that ...
0
votes
1
answer
61
views
How much slower are decent ECS frameworks supposed to be, compared to a naive array lookup?
I'm developing an ECS framework in C++ and after doing every optimization I could think of, the comparison with a naive array look up is terrible. It's 10x worse in debug mode and 3x worse in release ...
0
votes
0
answers
45
views
clouds are blurry
Unreal Engine 5
First Person
BLUEPRINT
default level Basic
The default cloud VolumetricCloud looks blurry in the sky can someone tell me step by step how to fix this m_SimpleVolumetricCloud_Inst
I ...
1
vote
0
answers
21
views
What is the best way to move a mask in a shader in a square path in Unity Shader Graph?
I would like to make the square move strictly along a square trajectory. The square will later be used to mask the main sprite.
How to achieve this result? How to move the square along the square's ...
0
votes
0
answers
41
views
Would learning 3D graphics from a 2015 WebGL tutorial be unwise? [closed]
i wanted a more comprehensive introduction to the intricacies of computer graphics. This author has incredible documentation on learning the ropes, using WebGL.
Why ?
i like the idea of learning to ...
1
vote
1
answer
101
views
Are VAOs in OpenGL just a trick to make fewer bind calls?
From everything I've researched, Vertex Array Objects (VAOs) are essentially just a trick, based on the fact that OpenGL keeps some kind of internal stack, so that when you bind the VAO, which ...
19
votes
2
answers
3k
views
How do you decide a base threshold for leveling up in a game?
This was a question asked during an interview, and I was absolutely stumped.
Let's say that there's a levelling system in the game. If you defeat an enemy, you get "n" XP. By the time you ...
0
votes
2
answers
70
views
My default animation state is stuck on little progress
I'm following CodeMonkeys 'Learn Unity Beginner/Intermediate' and I'm at the animation section. i tried doing it myself after watching it and I am pretty sure I did all the steps. But I reached the ...
1
vote
1
answer
204
views
Creating composite transformation matrix to apply in vertex shader
What I'm puzzled about, is why most tutorials on graphics programming speak of creating a composition of transformation matrices - which are then applied in a single loop (to each vertex).
I did the ...
0
votes
0
answers
39
views
Need a Hand with Liquid Shader in Unity (for VR Bartending Game)
I’m working on a liquid shader in Unity and could really use some help making it look more realistic. I’m going for that nice touch of transparency, reflections, maybe a hint of refraction—just ...
0
votes
0
answers
28
views
How do I use Addressables AssetReference RuntimeKey to compare the loaded assets with the AssetReference
I will use Addressables to load multiple assets of type Bag that share the same AssetLabelReference.
So I will load them using ...