Skip to content

Instantly share code, notes, and snippets.

@opensussex
Created September 15, 2021 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save opensussex/ab2c0595ac7ad272765096f194791187 to your computer and use it in GitHub Desktop.
Save opensussex/ab2c0595ac7ad272765096f194791187 to your computer and use it in GitHub Desktop.
//------------------------------------------
#include "textures.inc"
plane { <0,1,0>,0
pigment {
Tiles_Ptrn()
color_map{
[0.00 color rgb <0,1,0>] // lines
[0.04 color rgb <0,0,0,1>] // space
}
rotate x*90 // rotates the pattern onto the "upper side" of the plane
}
}
light_source {<5,5,-5>,1}
camera {location <5,2,-5> look_at 0}
//-------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment