Questions tagged [graph]
A graph is a data structure for a set of objects where some pairs of the objects are connected by links.
69 questions
0 votes
0 answers
76 views
How to optimally transfer between nodes when each connection can only handle a certain number of things at a time?
Let's begin with a picture: I am currently making a turn-based strategy game set in space where you can settle colonies and have to transfer minerals from the colonies ("foo", "bar&...
0 votes
1 answer
196 views
How to compile a node-based material system to usable shader code / data buffers / texture resources?
Let's suppose we're rendering a scene using Vulkan with objects with many different materials that are built using nodes. Within a graphics pipeline, there can be only fixed shader code, so I'll have ...
1 vote
0 answers
57 views
Pushing Multiple Objects With Static Friction
Given is a set of objects at rest that are in contact with each other, external forces that are applied to them and static friction forces (forces that counteract an applied forces up to a maximum ...
0 votes
0 answers
568 views
Gradient border/drop shadow URP unity shader graph
I am using Unity Universal Render Pipeline and shader graphs in my game. Does anybody know how I would go about setting up a shader graph that adds a black gradient drop shadow/border with the game ...
0 votes
0 answers
125 views
Graph structure/algorithm to maintain an incrementally updated component list
I have a c# unity game (using quikGraph, but I don't believe it fits my needs here). I'm adding wires which connect power sources to power destinations. All devices and wires will be nodes in a graph. ...
4 votes
1 answer
2k views
space map generation
I am at the beginning of the creation of a space 4x and first of all i need to generate a galaxy of stars linked by connecting lines that changes in each new game, I'll add a few pictures to show what ...
0 votes
0 answers
93 views
How do I get HDRP render enabled so that the shader graph will work
I'm using Unity 2019.2.17 personal, and I imported the shader graph package and created a pbr shader graph. I get a warning: the render pipeline is not compatible with the master node. I assume it ...
2 votes
2 answers
2k views
Line of Sight Check Theta* Algorithm
I am looking at implementing the Theta* algorithm in a 2D NavMesh. I have A* working, and I need to add a line of sight check to turn it into Theta*, this seems relatively easy in a uniform grid but a ...