Forums Aricles
Register Register Register Contact Us
Go Back   Game Artist Forums > Game Art > Support

Register FAQForum Rules Members List Calendar Mark Forums Read
Reply
 
LinkBack Thread Tools Display Modes
Old 08-05-2008, 09:38 AM   #1 (permalink)
New Artist
bricevdm's User Activity: 0/10
11 - 0
Environment uber shader requests?

this is a repost of a polycount thread

Hi everyone
I recently more or less finished my generic BRDF shader for maya. There's other features that might be interesting but then it will start to be a little messy. I was thinking of building up another shader specifically for environment purpose. That might be useful, especially maybe with the unearthly challenge coming up (seems that unlike DW shader and offline rendering are accepted right?).
So I was wondering what features would be useful. Here's a list of ideas. Please tell me which ones would make sense and don't hesitate to add requests

- multi point lights with attenuation
- directional light (sun)
- cubemap ambient ?
- hemispheric ambient ?
- textures blending using vertex color
- detail maps
- auto uvs generation (according to world position)
- light map on separate uv set
- vertex color lighting
- radiosity normal mapping ?
- relief mapping ?
- ...

thx for your feedback
cheers
bricevdm is offline   Reply With Quote
Old 08-05-2008, 09:47 AM   #2 (permalink)
Game-Artist.net Admin
doylle's Avatar
Winner of Speed Texturing 2nd Place 
doylle's User Activity: 10/10
2,296 - 293
those are allot of fancy maps and channels there... with UC in mind this will indeed come in handy. If i'd have to request anything beyond the regular maps, then i'd pick double normal maps. One for the actual normal map, and one for a detail normal map (if the player goes up close)...
doylle is online now   Reply With Quote
Old 08-05-2008, 11:08 AM   #3 (permalink)
New Artist
bricevdm's User Activity: 0/10
11 - 0
Details maps basically right?
They could even use an optional vertex color to drive its intensity

Last edited by bricevdm; 08-05-2008 at 11:13 AM.
bricevdm is offline   Reply With Quote
Old 08-05-2008, 11:27 AM   #4 (permalink)
Founder of Statspaddling
Tiros's Avatar
1st Place Winner of Speed Texturing Winner of Speed Texturing 1st Place 
Tiros's User Activity: 10/10
1,214 - 169
Sounds great really, can't think of anything more I'd like to see. Other than a copy of it on my harddrive

Cheers!
Tiros is offline   Reply With Quote
Old 08-07-2008, 01:19 AM   #5 (permalink)
Senior Artist
latinmessiah's Avatar
Winner of Speed Texturing 
latinmessiah's User Activity: 1/10
155 - 12
I second that, Tiros!
__________________
-LM
www.latinmessiah.com
latinmessiah is offline   Reply With Quote
Old 08-09-2008, 08:03 PM   #6 (permalink)
New Artist
bricevdm's User Activity: 0/10
11 - 0
Alright people here's a first version

The shader supports a lot of feature already. It is build around the ability to blend textures, so it's basically done for a terrain. I'll do a 'light' version later on so that you can use the same lighting solution on props.



Here's a rough sample of texture blending, I'll do a nicer one for the release


The shader supports 2 lamps at the moment but it should be easily scalable to fit your needs (in your card's pixel shader capacity)


Here is the current parameters layout


There is no RNM, POM, specular attenuation, cubemaps nor checker at the moment.

You can try it here
http://www.mentalwarp.com/~brice/dow...nd01_BETA.cgfx

I remind you that:

This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License Creative Commons Attribution-Share Alike 3.0 Unported

Do I need to mention that feedback is encouraged? :P
bricevdm is offline   Reply With Quote
Old 08-10-2008, 03:18 PM   #7 (permalink)
Senior Artist
latinmessiah's Avatar
Winner of Speed Texturing 
latinmessiah's User Activity: 1/10
155 - 12
Thanks for letting us try the shader, but the script is giving me tons of these errors:

" // Error: Invalid use of Maya object ... "

I'm using Maya 8.5. Thanks.
__________________
-LM
www.latinmessiah.com
latinmessiah is offline   Reply With Quote
Old 08-10-2008, 04:30 PM   #8 (permalink)
New Artist
bricevdm's User Activity: 0/10
11 - 0
I never had this error, I tried on my laptop with maya 8.5 and a 6800 Go and it worked just fine. Could you be more specific about the situation here? hardware, full error message etc
bricevdm is offline   Reply With Quote
Old 08-11-2008, 02:24 AM   #9 (permalink)
Game-Artist.net Admin
doylle's Avatar
Winner of Speed Texturing 2nd Place 
doylle's User Activity: 10/10
2,296 - 293
looks quite impressive. Makes me a bit sad i'm not using maya. If I find some time, can i convert it to a version that works in max to? I had a quick look, i don't think it's more than changing some of the syntaxes for the input...

nice work!
doylle is online now   Reply With Quote
Old 08-11-2008, 07:01 AM   #10 (permalink)
New Artist
bricevdm's User Activity: 0/10
11 - 0
Should be pretty easy Christoph Kubisch (CrazyButcher) did a port of my first shader here: Luxinia Engine | ArtTools / 3dsmaxFX
You need to pay attention to the way of fetching camera position, encoding of normal map and cubemap and the world space axis differences (especially for the procedural uv set and its generated tangent and bitangent). Vertex color edition is a pain tough, but that can be helpful
bricevdm is offline   Reply With Quote
Reply

Bookmarks
Digg del.icio.us StumbleUpon Google
Thread Tools
Display Modes




All times are GMT -5. The time now is 03:01 AM.


Powered by vBulletin® Version 3.7.0 Beta 4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
Copyright © 2006-2008 Game-Artist.Net