Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Vector3 position, normal;
- Bitmap texture;
- public override Vector3 GetColor(Vector3 point) {
- int u = ?
- int v = ?
- return texture.GetPixel(u, v);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement