The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
|
Car. Material properties - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4) +--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9) +--- Thread: Car. Material properties (/showthread.php?tid=1378) |
Car. Material properties - Surzh - 11-27-2010 Hi guys, I want to play with material properties (first of all for car model). Where I can find that? Thanks, Ivan Surzhenko - NaN - 11-28-2010 Material is the misc1 texture. Red and green channel are the interesting ones. Code: float gloss = tu1_2D_val.r; - portets - 11-28-2010 am i right in saying that, after the deferred rendering refactor, the green and red channels never got separated? making a misc-1 blue or green does nothing. red causes gloss and metallic. - NaN - 11-28-2010 Did a quick check myself. Looks like a bug to me. Maybe Joe can comment on this. - fudje - 11-28-2010 Is there a normal map for cars? - NaN - 11-28-2010 The UV mapping of the most cars is unusable for normal and ambient map creation. We would have to redo them. Just have a look at the diffuse textures to get an idea. - portets - 11-28-2010 i created a normal map for the xs to make seams between body panels. it turned out pretty bad, a bunch of shiny squares followed the lines. doesn't vdrift compress textures in-game? because the normal maps have jpeg-like compression artifacts, but shiny. and it's not just me; the normal maps look good when loaded into different programs. - fudje - 11-29-2010 I reckon that's more likely to be stretching. Although the lowest quality filter in VDrift seems to be Trilinear mip-maps, which should more or less hide such things. - NaN - 11-29-2010 DXT compression artifacts I guess. All textures > 512 are compressed. We should either disable it for normal maps or implement normal map compression. http://developer.nvidia.com/object/real-time-normal-map-dxt-compression.html - portets - 11-29-2010 yeah, i think disabling normal map compression sounds good. then we can figure out what to do later. i've partially been stalling on making new normal maps because they don't look right. like my rouen tarmac maps; they look pretty bad up close. - fudje - 11-29-2010 Haha DXTn. I never noticed. Without compression (my driver doesn't do S3TC off the bat) I can quite happily fit all the textures for Ring 2007 and 4 cars in 256M of memory for IGP.... - joevenzon - 12-04-2010 portets Wrote:am i right in saying that, after the deferred rendering refactor, the green and red channels never got separated? That's true, the deferred rendering rewrite changed the lighting model being used. The lighting model takes a specular color and specular exponent (shininess), so I think the best change here is to go with a specular map where the specular color is in RGB and the exponent is in A. However, this requires adjusting all of the existing miscmap textures.... |