NoGripRacing.com

Go Back   NoGripRacing Forums > PC Racing > NFS : Shift

Reply
 
Thread Tools
Old 17 October 10, 16:56   #1
raphaelbuthmann
Donated
 
Join Date: Feb 2009
Default No envmap on objects.

Hi everybody , I'm not so noob on modding games but something curious is happening on shift conversions.

Here are the pics:




I don't know why this is happening, it's the same material , the same object , but only the main body have the real time reflection. Why ?

If someone know how fix it I will say thanks. LOL

(OBS: The same thing happens with DLC mod , Some ferraris have only one part with envmap , the trunk , or the hood , or other part.)

Last edited by raphaelbuthmann; 17 October 10 at 21:32.
raphaelbuthmann is offline   Reply With Quote
Old 17 October 10, 19:39   #2
seeneonu
 
seeneonu's Avatar
 
Join Date: Apr 2010
Location: Estonia
Age: 21
Default

Where did you get this old murcielago?
seeneonu is offline   Reply With Quote
Old 17 October 10, 21:26   #3
raphaelbuthmann
Donated
 
Join Date: Feb 2009
Default

No one reply ? :s

Last edited by raphaelbuthmann; 17 October 10 at 22:08.
raphaelbuthmann is offline   Reply With Quote
Old 17 October 10, 21:42   #4
seeneonu
 
seeneonu's Avatar
 
Join Date: Apr 2010
Location: Estonia
Age: 21
Default

Maybe upload it?
seeneonu is offline   Reply With Quote
Old 17 October 10, 21:47   #5
raphaelbuthmann
Donated
 
Join Date: Feb 2009
Default

it's only a wip , I can try ^^ , the physics are all from reventon.
raphaelbuthmann is offline   Reply With Quote
Old 17 October 10, 21:54   #6
djotefsoup
 
Join Date: May 2007
Default

* Keep it under your hat if you're converting Forza 3 models

* You will find the garage.fx shader is really good for bringing this out in cases where you won't really see it in the racing part of the game

* You might need to skin the car with a material replacement (check the DLC conversion for some examples of this) rather than the standard paint texture replacement

* At the end of it all it might just be that you need to re-do some of the normals for the model
djotefsoup is offline   Reply With Quote
Old 17 October 10, 22:13   #7
raphaelbuthmann
Donated
 
Join Date: Feb 2009
Default

It's only a private mod ^^

@djotefsoup

I understood, I will try and post the results here.
I did a new material , Lamorghini_murcielago_paint.
So i need open the model on 3dsimed and change this material to a new one from other car ? Something like : Acura_nsx_paint ?
raphaelbuthmann is offline   Reply With Quote
Old 17 October 10, 22:25   #8
djotefsoup
 
Join Date: May 2007
Default

It's something going wrong with the interaction of the model itself with the assigned material to the model. You can re-jig it somewhat if you make say, a paint material.mtx, like:

Code:
<?xml version="1.0" encoding="UTF-8"?>

  <material name="PAINT_FERRARI_ROSSO_CORSA" shader="render\shaders\bodywork.fx" technique="Bodywork" fog="false" antialias="1" numparams="13" cull="EBFCT_ANTICLOCKWISE" >
    <shaderparam name="diffuseTexture" type="EPT_TEXTURE" >
      <type t="ET_STANDARD" />
      <value v="vehicles\Textures\PAINT_FERRARI_ROSSO_CORSA.dds" />
    </shaderparam>
  
    <shaderparam name="specularTexture" type="EPT_TEXTURE" >
      <type t="ET_STANDARD" />
      <value v="vehicles\Textures\COMMON_PAINT_SPECULAR.DDS" />
    </shaderparam>
  
    <shaderparam name="scratchControlTexture" type="EPT_TEXTURE" >
      <type t="ET_STANDARD" />
      <value v="vehicles\Textures\COMMON_BLANK.DDS" />
    </shaderparam>
  
    <shaderparam name="minSpecPower" type="EPT_F32" >
      <value v="1" />
    </shaderparam>
  
    <shaderparam name="maxSpecPower" type="EPT_F32" >
      <value v="500" />
    </shaderparam>
  
    <shaderparam name="globalSpecularFactor" type="EPT_F32" >
      <value v="0.500000" />
    </shaderparam>
  
    <shaderparam name="globalEMapFactor" type="EPT_F32" >
      <value v="0.494118" />
    </shaderparam>
  
    <shaderparam name="primerBasis" type="EPT_VEC4" >
      <value v="0.054902 0.058824 0.058824 1" />
    </shaderparam>
  
    <shaderparam name="metalBasis" type="EPT_VEC4" >
      <value v="0.250980 0.243137 0.235294 1" />
    </shaderparam>
  
    <shaderparam name="dirtBasis" type="EPT_VEC4" >
      <value v="0.125490 0.105882 0.062745 0" />
    </shaderparam>
  
    <shaderparam name="noiseScale" type="EPT_F32" >
      <value v="4" />
    </shaderparam>
  
    <shaderparam name="dirtScale" type="EPT_VEC4" >
      <value v="0 0 1 1" />
    </shaderparam>
  
    <shaderparam name="fresnelFactor" type="EPT_F32" >
      <value v="0.600000" />
    </shaderparam>
  
    <define name="USE_FRESNEL" />
    <define name="ALLOW_VINYLS" />
    <define name="DIRT_SCRATCH" />
    <depthparams >
      <enabled e="true" />
      <writtenenable w="true" />
    </depthparams>
  </material>
and then call it in the car .rcf, replacing the paint material like so

Code:
    <CONDITION LIVERY="1">
        <REPLACE MATERIAL="FERRARI_CALIFORNIA_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\PAINT_FERRARI_ROSSO_CORSA.mtx" />
    </CONDITION>
djotefsoup is offline   Reply With Quote
Old 17 October 10, 22:32   #9
raphaelbuthmann
Donated
 
Join Date: Feb 2009
Default

Oh thanks , I am almost fixing, the lateral wing is already fixed ^^ later I post the image.
raphaelbuthmann is offline   Reply With Quote
Old 17 October 10, 22:49   #10
raphaelbuthmann
Donated
 
Join Date: Feb 2009
Default

I don't needed to do all this things.
The problem is :

Zmodeler don't export correctly. There is a malfunction between the object and material , and when you re-open it on 3dsimed and export again , this malfunction is fixed ^^
raphaelbuthmann is offline   Reply With Quote
Old 20 October 10, 14:31   #11
raphaelbuthmann
Donated
 
Join Date: Feb 2009
Default





Thanks for the support ^^
I am learning well.
I am having problem with the AI Cars, my car receive shadows , but AI have almost the same problem on the same objects. Only the Main Body receive Shadows. I will try to fix but someone have answers?

Last edited by raphaelbuthmann; 20 October 10 at 14:44.
raphaelbuthmann is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:58.


Powered by vBulletin® Version 3.8.7 - Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

www.nogripracing.com 2003 - 2013
Page generated in 0.08494 seconds with 8 queries