Bump mapping in MTA ?

Developer discussion. No user suggestions/requests.

Moderators: MTA Contributors, Moderators, MTA Team

Bump mapping in MTA ?

Postby Kernell on Wed Dec 14, 2011 9:39 am

How to make bump mapping by shaders in MTA?

I have 3D model with bump textures. GTA SA does not support bump mapping.

with bump mapping:
Image
without bump mapping:
Image

3D model looks much better with bump mapping.
Programmers do not die, they just gosub without return
User avatar
Kernell
MTA Contributor
 
Posts: 1406
Joined: Sat Oct 02, 2010 9:24 am
Location: Russian Federation, Stavropol
Gang: MTA Roleplay

Re: Bump mapping in MTA ?

Postby coolman on Wed Dec 14, 2011 10:02 am

Good question. I think it is possible because i done it but it did not work good.
coolman
Square
 
Posts: 16
Joined: Fri Dec 09, 2011 4:23 pm
Gang: None

Re: Bump mapping in MTA ?

Postby Benox.exe on Wed Dec 14, 2011 12:55 pm

No for MTA, maybe with shaders ?
There is a plug-in for gta sa solo (normal maps), but it d'ont work very good, it is hard to take an old engine and add things like that and get good result !
3D artist & Multiple games mapper

My Youtube Channel
User avatar
Benox.exe
Road Dawg
 
Posts: 839
Joined: Thu Mar 26, 2009 9:37 pm

Re: Bump mapping in MTA ?

Postby karlis on Wed Dec 14, 2011 4:47 pm

http://rbwhitaker.wikidot.com/bump-map-shader-1
this, and library from some of the shaders examples in wiki is all you need.
basically, in shader examples there is function somewhere that calculates the lighting way gta does, edit the function to include bump mapping.
karlis
Lil' G
 
Posts: 1338
Joined: Wed Apr 22, 2009 1:16 pm
Gang: none

Re: Bump mapping in MTA ?

Postby Maccer. on Thu Dec 15, 2011 4:31 pm

Unfortunately shaders on peds were taken out from what I infer were stability reasons. They might re-appear in later versions perhaps but for now you might have to just find a way to pre-render this.
Maccer.
Poot-butt
 
Posts: 140
Joined: Wed Jun 11, 2008 2:49 pm
Gang: alt.total-loser ✓

Re: Bump mapping in MTA ?

Postby karlis on Thu Dec 15, 2011 4:41 pm

Fedor_s wrote:Unfortunately shaders on peds were taken out from what I infer were stability reasons. They might re-appear in later versions perhaps but for now you might have to just find a way to pre-render this.


no real way to prerender bumpmaps, and increasing polygon count to match bumps would lag A LOT
karlis
Lil' G
 
Posts: 1338
Joined: Wed Apr 22, 2009 1:16 pm
Gang: none

Re: Bump mapping in MTA ?

Postby Maccer. on Thu Dec 15, 2011 9:41 pm

karlis wrote:
Fedor_s wrote:Unfortunately shaders on peds were taken out from what I infer were stability reasons. They might re-appear in later versions perhaps but for now you might have to just find a way to pre-render this.


no real way to prerender bumpmaps, and increasing polygon count to match bumps would lag A LOT

What I'm saying is, make the texture itself more reflective and other tweaks to compensate, I'm sure there's some ways you can make it shinier.
Maccer.
Poot-butt
 
Posts: 140
Joined: Wed Jun 11, 2008 2:49 pm
Gang: alt.total-loser ✓

Re: Bump mapping in MTA ?

Postby Ren_712 on Sun Apr 29, 2012 12:48 pm

Shader Reflective bump mapping.
video: http://www.youtube.com/watch?v=8QG-qHlsqCE
link: http://community.mtasa.com/index.php?p=resources&s=details&id=4670

An early version, and probably the last.
Modified NVIDIA BumpReflect shader. Uses a cubemap as a reflection texture.
It's not much.
Maybe you'll do something useful with that resource.
Last edited by Ren_712 on Wed May 02, 2012 12:43 pm, edited 1 time in total.
User avatar
Ren_712
Busta
 
Posts: 169
Joined: Wed Apr 11, 2012 6:58 pm

Re: Bump mapping in MTA ?

Postby diegofkda on Sun Apr 29, 2012 1:32 pm

Ah well, that's an awesome shader. That should be added at http://wiki.multitheftauto.com/wiki/Shader_examples .
"Don't cry if you fall, anyway God will bless you", Michael Sweet, 1989
Image
Image
User avatar
diegofkda
Spanish Section Moderator
 
Posts: 1839
Joined: Sat Oct 02, 2010 2:03 pm
Location: Santiago, Chile
Gang: The FP Team

Re: Bump mapping in MTA ?

Postby abigaleangelia on Wed May 23, 2012 1:38 am

How to make bump mapping by yellow in MTA?
abigaleangelia
I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.
 
Posts: 1
Joined: Wed May 23, 2012 1:36 am
Gang: right

Re: Bump mapping in MTA ?

Postby ASM on Sun Aug 19, 2012 1:06 am

ASM
Square
 
Posts: 19
Joined: Sun Aug 19, 2012 12:09 am
Gang: 1Play.pl

Re: Bump mapping in MTA ?

Postby Ren_712 on Mon Sep 10, 2012 3:12 pm

Kernell wrote:How to make bump mapping by shaders in MTA?

I have 3D model with bump textures. GTA SA does not support bump mapping.
(..)
3D model looks much better with bump mapping.


I know it's an old topic. But i came across this:

Ryosuke839's Ped Normal Map Plugin
http://www.gtaforums.com/index.php?showtopic=485241

Plus - you will find there an interesting tutorial for making ped normal maps.
As for the plugin itself - they say it doesn't work with player (CJ) only with peds. I wonder will it work in MTA ?
User avatar
Ren_712
Busta
 
Posts: 169
Joined: Wed Apr 11, 2012 6:58 pm


Return to Open Source Contributors

Who is online

Users browsing this forum: No registered users and 2 guests