ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
Cube maps in STALKER

« Previous 10 events | 1 2 3 | All Messages
Posted by/on
Question/AnswerMake Oldest Up Sort by Ascending
  05:05:02  19 March 2013
profilee-mailreply Message URLTo the Top
Jketiynu
Swartz
(Resident)

 

 
On forum: 04/05/2007
 

Message edited by:
Jketiynu
03/19/2013 5:28:14
Messages: 867

---QUOTATION---
Cube maps in STALKER

Anyone got insight on how these work? I noticed the #small sky cubes apply a nice cubemap reflection which is what I was after, but the effect doesn't seem to be maskable.

Alternatively, I'd love to apply the cubemap to just, say, the weapon.

http://puu.sh/2kbBX

Left example has a custom #small cubemap.
---END QUOTATION---



If you tell me how you went about applying the cubemap to the weapon maybe I can help.

Did you use the #small cubemap renamed as weaponname_bump# or did you do something else? Once I understand how you apply it I can experiment in the SDK to see how to make it only happen to the weapon.

Alternatively, you could ask someone such as Meltac to create a new model_shader.s file that does a cubemap reflection and that alone. It shouldn't be too hard to do.
Hell, I may even be able to do it. Then you'd just apply that shader to the weapon skin instead of models_weapons, etc.

*Final edit*
Looks like Call of Pripyat does this already.

You'll need to change the models/weapons in shaders.xr via the Shader editor in the SDK and fill it out with the following info (assuming the SOC SDK has these options):

Environment map:
Name - sky\sky_cube_weapons (here's the texture for it: http://www.sendspace.com/file/3x1ppj )
Transform - Custom

Custom Transform:
Mode - Cube Reflection
Alpha-Blend - Not used

If those options aren't present then I don't know what to say except ask again how you're currently applying the cube map?
  04:02:45  19 March 2013
profilee-mailreply Message URLTo the Top
Millenia
(Senior)
 
On forum: 04/04/2007
Messages: 130
Cube maps in STALKER

Anyone got insight on how these work? I noticed the #small sky cubes apply a nice cubemap reflection which is what I was after, but the effect doesn't seem to be maskable.

Alternatively, I'd love to apply the cubemap to just, say, the weapon.

http://puu.sh/2kbBX

Left example has a custom #small cubemap.
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2022 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.