VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Fast bump mapping

by Safo (4 Submissions)
Category: Graphics
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

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

Download Fast bump mapping

Download Fast bump mapping (45 KB)

Fast bump mapping Comments

No comments have been posted about Fast bump mapping. Why not be the first to post a comment about Fast bump mapping.

Post your comment

Subject:
Message:
0/1000 characters