Commit Graph

12 Commits

Author SHA1 Message Date
Ivan Avdeev
86b13716bf rtx: create new materials referenceable by "for" key, #291 2021-12-22 12:33:33 -08:00
Ivan Avdeev
a94674b11a rtx: allow creating new pbr materials 2021-12-22 12:33:33 -08:00
Ivan Avdeev
b0e3ebfc32 rtx: add mass-patching, fix #275 2021-12-11 12:52:29 -08:00
Ivan Avdeev
f9fc8fd2f2 rtx: read _xvk_radius instead of radius in patch files to disambiguate, fix #259 2021-12-08 11:25:39 -08:00
Ivan Avdeev
5c85d1b648 rtx: add radius property for point/spot lights
it is not handled correctly in shader yet
2021-11-28 14:05:54 -08:00
Ivan Avdeev
7ca6c2128c rtx: allow patching light entities
change light position and color example:
```
{
	"_xvk_ent_id" "217"
	"_light" "255 0 255 1000"
	"origin" "-2016 300 -432"
}
```

delete light example:
```
{
	"_xvk_ent_id" "219"
}
```
2021-11-28 13:38:01 -08:00
Ivan Avdeev
5a7cb651ca rtx: allow patching emissive color for brush surfaces, #117 2021-11-28 11:15:02 -08:00
Ivan Avdeev
28d047a904 rtx: enable patching surface textures
example:
```
{
	"_xvk_surface_id" "489"
	"_xvk_texture" "#maps/test_material.bsp:debug_normal1.mip"
}
```

if _xvk_texture is empty, then the surface will be deleted

surfaces can be deleted or their
2021-11-26 23:59:48 -08:00
Ivan Avdeev
4f903bd1d6 rtx: add lightstyles support, fix #138 2021-10-26 13:12:25 -07:00
Ivan 'provod' Avdeev
dd3f47ea4c fix windows build 2021-10-25 10:17:49 -07:00
Ivan Avdeev
e0d0e6393d rtx: add target support for spotlights, fix #128 2021-10-25 10:17:49 -07:00
Ivan Avdeev
539c04cbd1 move map entity parsing into vk_mapents, fix #134 2021-10-25 10:17:49 -07:00