Try my new website:
www.urcho.com
- the new SIMPLE social network
Sign up
|
287
members |
114
snippets
Search for:
ALL
POPULAR
File Controls
Multiplayer Code
2D Effects
3D Effects
Oldskool demos
Basic Functions
Maths/Physics
Sound
Tutorials
Misc
Username:
Password:
Sign up
Planet halosunflare without clipping problems by Rob
[
back
]
Author:
Archive
| Viewed:
564
times | Language:
BlitzBasic 3D
| Category:
3D Effects
;bugs: rob@redflame.net Graphics3D 640,480,16,2 camera=CreateCamera() planet=CreateSphere() glow=CreateSphere() ScaleEntity glow,1.6,1.6,1.6 light=CreateLight(2) MoveEntity light,1000,1000,-1000 MoveEntity camera,0,0,-10 tex=CreateTexture(64,64,48+64+512+2) SetBuffer TextureBuffer(tex) For i=1 To 64 Color i*3,i*3,i*4 Oval i/2,i/2,64-i,64-i,1 Next EntityTexture glow,tex EntityBlend glow,3 While Not KeyHit(1) UpdateWorld RenderWorld Flip Wend End
Author Comments:
This is useful in many situations. For example, you really do need a beautiful gentle hue around your object however you dont want to use sprites for a variety of reasons. Usually this will be due to clipping problems.
Login or
create an account
to comment on this snippet