+ | Volumetric ligthing

This commit is contained in:
TheRedShip
2025-01-13 23:45:13 +01:00
parent 819c07f90d
commit 1d3627000d
5 changed files with 113 additions and 16 deletions

View File

@ -10,16 +10,16 @@ MAT 30 30 30 0.0 0.0 0.0 //black
MAT 255 255 255 5.0 0.0 0.0 //light
# sp -100 30 50 50 6
sp -100 30 50 50 6
#sp 0 -25 0 50 4
#
#sp 1 1 -0.5 2 0
#sp -0.8 0.8 0 1.5 1
#sp -2.2 0.4 0.25 1 2
#sp -3 0.2 0.50 0.75 3
#sp -3.8 -0.1 0.60 0.5 5
#
#cy 0 1 2 0.5 2 -1.5 0 0.75 1
sp 0 -25 0 50 4
OBJ obj/teapot.obj
sp 1 1 -0.5 2 0
sp -0.8 0.8 0 1.5 1
sp -2.2 0.4 0.25 1 2
sp -3 0.2 0.50 0.75 3
sp -3.8 -0.1 0.60 0.5 5
cy 0 1 2 0.5 2 -1.5 0 0.75 1
# OBJ obj/teapot.obj

View File

@ -3,8 +3,11 @@ CAM 11.1641 1.64529 -17.9646 -4.2 -237.4 0 1 90 5
MAT 255 255 255 0.0 1.0 0.0 //white
MAT 150 150 150 0.0 1.0 0.0 //grey
MAT 255 255 255 10.0 0.0 0.0 //light
pl 0 0 0 0 1 0 1
sp -100 50 0 50 2
qu 0 0 0 0 6 0 18 0 0 0
qu 0 0 -18 0 6 0 18 0 0 0