Skip to content

Instantly share code, notes, and snippets.

@7yl4r
Last active January 9, 2016 04:54
Show Gist options
  • Save 7yl4r/94551e439d30519e3874 to your computer and use it in GitHub Desktop.
Save 7yl4r/94551e439d30519e3874 to your computer and use it in GitHub Desktop.
steps for creating a texture background for Pixelon Bridge
  1. create map using map editor
  2. screenshot map
  3. create new gimp file 1000x1000px
  4. add map, scale to fit
  5. draw bg texture using map as ref
  6. texture should be blurred (approx r=10 gaussian)
  7. export to png
  8. trianglify image using triangloid or similar (upload, trianglify w/ size=10, open dev console, copy outerhtml of svg that appears in console)
  9. paste svg xml into new .svg file
  10. open svg file in inkscape
  11. export image @ ~4x svg native resolution (4000x4000 if used 1000x1000 in gimp)
  12. open exported image in gimp, fade out outermost 100px around edges to prevent seams from showing when overlapped w/ neighbor regions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment