VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Fast bump mapping

Safo  (4 Submissions)   Graphics   Intermediate   Wed 3rd February 2021

This is very fast 2D bump mappping. You can change color of bump mapping. This is perfect example for beginners and profesionals.

API Declarations
Public Declare Function SetPixel Lib "gdi32" (ByVal hdc As Long, ByVal X As Long, ByVal Y As Long, ByVal crColor As Long) As Long
Public Declare Function GetPixel Lib "gdi32" (ByVal hdc As Long, ByVal X As Long, ByVal Y As Long) As Long
Declare Function GetObject Lib "gdi32" Alias "GetObjectA" (ByVal hObject As Long, ByVal nCount As Long, ByRef lpObject As Any) As Long
Declare Function GetBitmapBits Lib "gdi32" (ByVal hBitmap As Long, ByVal dwCount As Long, ByRef lpBits As Any) As Long
Declare Function SetBitmapBits Lib "gdi32" (ByVal hBitmap As Long, ByVal dwCount As Long, ByRef lpBits As Any) As Long

Rate Fast bump mapping (6(6 Vote))

Download Fast bump mapping

Fast bump mapping Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters