123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|573|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> Grab the orginal texture?

Thu, 29 Nov 2007, 06:56
Toaster
I am working really hard on my editor and I load meshes that already have textures applied to them. I need some way to grab that texture off of the mesh. So I can then do bump mapping..
Right now I am trying:


As you can see I use the getentitybrush command and then the getbrushtexture to grab the texture from the mesh but its not working.

Thanks for any help,
Toaster
Thu, 29 Nov 2007, 07:20
Jayenkai
I tried doing that once, but couldn't figure it out. It was one of the many annoying 3D things that put me off!

-=-=-
''Load, Next List!''
Thu, 29 Nov 2007, 07:52
Toaster
I got it!! You have to get the surface first..



Boy this took all my smartness to figure out..

Here's bump mapping and shadows + water in action in the editor. Note: The bump for the barrel is like exaggerated thats due to the fact that I just suck at making bump maps. As you can see everything has realtime stencil shadows theres a slight bloom filter and the water reflects. Somehow the shadow volumes got rendered in the picture as well..


-Toaster