Graphics Settings + Disabling Minimap Asteroids

Created graphics settings data structure
Added nebula quality option to graphics settings
Added option to display asteroids in minimap (expensive)
This commit is contained in:
Reinier Vens 2022-07-18 08:44:54 +01:00
commit b93d2d213b
25 changed files with 1733 additions and 257 deletions

View file

@ -4,7 +4,7 @@ MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 55
executionOrder: 58
icon: {instanceID: 0}
userData:
assetBundleName:

View file

@ -127,8 +127,7 @@ void UpdateParticles(uint3 id : SV_DispatchThreadID, int3 groupID : SV_GroupThre
particles[id.x].position.y = gravHeight + floorHeight + headroom *
pow(RandomValue(), heightExponent) +
perlinNoise1D(RandomValue()*1024)*spacing/2;
float noise;
const float3 flowVec = flow(particles[id.x].position, noise);
const float3 flowVec = flow(particles[id.x].position);
particles[id.x].position -= flowVec * lifetime * period;
const float fade = smoothstep(0,ceilingHeight, particles[id.x].position.y);
const float d = pow(density(particles[id.x].position) + .01, 0.1);

View file

@ -12,7 +12,7 @@ MonoImporter:
- HueTexture: {instanceID: 0}
- Heightmap: {fileID: 8400000, guid: 55786e8a3fda620489070358940e3c04, type: 2}
- Target: {instanceID: 0}
executionOrder: 0
executionOrder: -5
icon: {instanceID: 0}
userData:
assetBundleName: