ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Announcements and Showcase
forum topic indicator Normal mapping without shader
person icon
guest_Robbo
Guest
Quote
2025-11-17 05:19:29

Do you want to use normal mapped textures without running your whole game in a shader ?

Now you can, and enjoy all the default benefits like better performance and use up to 8 lights as compared to only 4 lights from using a shader.

I just got bump mapping (normal mapped) textures to work in the fixed function pipeline so yeah.....enjoy.

It currently works for any 3d mesh (not terrain).
Will take more work for it to work with terrains - see how that goes...

I will add another post once this is completed.

person icon
SamOne
Guest
Quote
2025-11-17 07:06:23

Does it work with animated meshes...?

person icon
guest_Robbo
Guest
Quote
2025-11-18 00:25:05

Yes, I just tested it and it works with animated meshes...an unexpected surprise....

person icon
guest_Robbo
Guest
Quote
2025-11-18 12:13:27

This is done and completed.

Its on Itchio:
https://robo25.itch.io/coppercube-apis-version-2

and the video is here also:
https://youtu.be/xhm9mX2N-6Q

Noe, the core system Post Processing - a few of the shaders like Radial Blur have been improved.

person icon
Monks
Guest
Quote
2025-11-18 14:27:26

Awesome, very nice update

person icon
guest_Robbo
Guest
Quote
2025-11-19 12:06:37

Thanks Monks.

I just added a higher resolution texture to a 2d plane mesh and a good quality normal map and it does look very good I have to say - its updated per pixel in this case.

In some ways its better than the standard version of the normal map material and can be adjusted somewhat also...

If not using the directional light then best to pick another light source and get a single average direction to send into the API for all usuages - for example a main roof light for a given room.

I might add another input to adjust the max brightness for indoor use - ie brighter outdoors and darker indoors.

person icon
guest_Robbo
Guest
Quote
2025-11-19 13:33:02

Actually doesnt need a max brightness as the way this works it only adds shading into the image - no increase in brightness.

Best look for interior walls was using zero as min brightness which also gave a brighter more realistic look to the image.

See below:

1. top left - original image
2. bottom left - bump mapped only
3. top right - original texture with baked normal/roughness
4. bottom right - nu 3 with Bump mapping (best look)

embedded external image
🔎︎


person icon
guest_Robbo
Guest
Quote
2025-11-19 13:35:15

How do you post images here - why so hard....
the "
embedded external image
🔎︎
" did not work...

https://imgur.com/a/X3lbcVf

person icon
okeoke
Registered User
Quote
2025-11-19 13:46:49

You put actual link to resource, i.e. jpeg/png/webm or any other type:
1. Right click on the image
2. Copy image address
embedded external image
🔎︎


person icon
Monks
Guest
Quote
2025-11-19 15:36:59

That's so cool, Robbo, I like what you are doing here, with these massive improvements you are making, it's going to help us all, and also your improve Saturn 7's final lookemoji icon_blinkemoji icon_blink

person icon
huffelduff
Registered User
Quote
2025-11-19 21:18:36

Hi Robbo,

Thank you for all the hard work.
Your APIv2 is putting icing on the Coppercube cake.

Greetings

Huffelduff

person icon
guest_Robbo
Guest
Quote
2025-11-19 23:45:41

Thanks okeoke - will try that next time (following the Feature Code example on the right did not work).

Cheers guys - yes, you can get good looking graphics even without PBR - get a shine effect by baking the normal map details into the texture plus its AO and roughness then use BumpMap material to get even more directional light shading effect.

Not the same yet pretty decent I would say when compared to PBR rendering - and more performance also...

person icon
Monks
Guest
Quote
2025-11-20 11:26:50

I remember someone previously suggested that you add glitched velocity's make object jump API, if i also remember correctly he gave you the permission and also the code, if possible please include that feature

person icon
guest_Alireza
Guest
Quote
2025-11-20 18:07:05

Thanks Robbo.
Does your shader work for WebGL? If not, please make one for that too.

person icon
guest_Robbo
Guest
Quote
2025-11-21 03:44:51

Interesting thing is that when using a normal map in CC you are supposed to have mesh with tangents and binormals which requires a unique adjustment for that, when in fact I found its not needed at all as all default meshes in CC use a standard vertex setup without tangents.

That's why any mesh can show these Bumpmap effects including animated meshes and now have found how to do it with CC terrains also....just using a different way to access the textures...

So yes, should work on any platform like webGL.

yes, Monks, was on my mind to add in that code from JIC also...will do soonish..


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |