SebLague / Slime-Simulation

https://www.youtube.com/watch?v=X-iSQQgOd1A
GNU General Public License v3.0
1.39k stars 244 forks source link

The diffuse Function seems to be broken #11

Open EinsMalte opened 2 years ago

EinsMalte commented 2 years ago

What have I done, to come to this conclusion:

  1. Make all the Trail Maps public and visible in the Inspector grafik
  2. Disable the copy method grafik
  3. Look at the Render Textures in the Inspector Trail Map: grafik Diffused Trail Map: grafik

What are my PC Specs? Intel(R) Core(TM) i5-9400F (6 Cores @ 2.9 GHz) 16 GB RAM NVIDIA GeForce GT 710

(Yes my PC is a cheap Prebuilt. His name is "Potatoe")

EinsMalte commented 2 years ago

After some more investigating I've found out, that the originalCol isn't working out. On line 158 the originalCol is set to the TrailMap[id.xy] and on line 174 the DiffusedTrailMap[id.xy] is set to that color. grafik

EinsMalte commented 2 years ago

grafik grafik

grafik grafik

This works: grafik